lkml.org 
[lkml]   [2004]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRemove unused tty CALLOUT defines

Hi Andrew,

The callout code has been removed long ago from 2.6.

I believe it is safe to remove some of its unused defines.

Please apply it if rmk is ok with it.

diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/drivers/char/rocket_int.h linux-2.6.3/drivers/char/rocket_int.h
--- linux-2.6.3.orig/drivers/char/rocket_int.h 2004-02-24 20:51:48.000000000 +0000
+++ linux-2.6.3/drivers/char/rocket_int.h 2004-02-24 21:29:33.000000000 +0000
@@ -1231,11 +1231,9 @@ struct r_port {
#define ROCKET_INITIALIZED 0x80000000 /* Port is active */
#define ROCKET_CLOSING 0x40000000 /* Serial port is closing */
#define ROCKET_NORMAL_ACTIVE 0x20000000 /* Normal port is active */
-#define ROCKET_CALLOUT_ACTIVE 0x10000000 /* Callout port is active */

/* tty subtypes */
#define SERIAL_TYPE_NORMAL 1
-#define SERIAL_TYPE_CALLOUT 2

/*
* Assigned major numbers for the Comtrol Rocketport
diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/include/linux/isdn.h linux-2.6.3/include/linux/isdn.h
--- linux-2.6.3.orig/include/linux/isdn.h 2004-02-24 20:52:14.000000000 +0000
+++ linux-2.6.3/include/linux/isdn.h 2004-02-24 21:32:19.000000000 +0000
@@ -238,7 +238,6 @@ typedef struct {

#define ISDN_ASYNC_MAGIC 0x49344C01 /* for paranoia-checking */
#define ISDN_ASYNC_INITIALIZED 0x80000000 /* port was initialized */
-#define ISDN_ASYNC_CALLOUT_ACTIVE 0x40000000 /* Call out device active */
#define ISDN_ASYNC_NORMAL_ACTIVE 0x20000000 /* Normal device active */
#define ISDN_ASYNC_CLOSING 0x08000000 /* Serial port is closing */
#define ISDN_ASYNC_CTS_FLOW 0x04000000 /* Do CTS flow control */
diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/include/linux/isicom.h linux-2.6.3/include/linux/isicom.h
--- linux-2.6.3.orig/include/linux/isicom.h 2004-02-24 20:52:13.000000000 +0000
+++ linux-2.6.3/include/linux/isicom.h 2004-02-24 21:28:46.000000000 +0000
@@ -73,7 +73,6 @@ typedef struct {
#define PORT_COUNT (BOARD_COUNT*16)

#define SERIAL_TYPE_NORMAL 1
-#define SERIAL_TYPE_CALLOUT 2

/* character sizes */

diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/include/linux/serial.h linux-2.6.3/include/linux/serial.h
--- linux-2.6.3.orig/include/linux/serial.h 2004-02-24 20:52:13.000000000 +0000
+++ linux-2.6.3/include/linux/serial.h 2004-02-24 21:32:05.000000000 +0000
@@ -131,7 +131,6 @@ struct serial_uart_config {

/* Internal flags used only by kernel/chr_drv/serial.c */
#define ASYNC_INITIALIZED 0x80000000 /* Serial port was initialized */
-#define ASYNC_CALLOUT_ACTIVE 0x40000000 /* Call out device is active */
#define ASYNC_NORMAL_ACTIVE 0x20000000 /* Normal device is active */
#define ASYNC_BOOT_AUTOCONF 0x10000000 /* Autoconfigure port on bootup */
#define ASYNC_CLOSING 0x08000000 /* Serial port is closing */
diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/include/linux/tty_driver.h linux-2.6.3/include/linux/tty_driver.h
--- linux-2.6.3.orig/include/linux/tty_driver.h 2004-02-24 20:52:13.000000000 +0000
+++ linux-2.6.3/include/linux/tty_driver.h 2004-02-24 21:29:05.000000000 +0000
@@ -270,6 +270,5 @@ void tty_set_operations(struct tty_drive

/* serial subtype definitions */
#define SERIAL_TYPE_NORMAL 1
-#define SERIAL_TYPE_CALLOUT 2

#endif /* #ifdef _LINUX_TTY_DRIVER_H */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.034 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site