aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/isdn.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-04-02 07:53:49 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-09 14:16:54 -0400
commit05eb48be91e6675c225b5f86c88ecbb83152119c (patch)
tree08bb2e98eca700f45884b93d43e4546f24948ce9 /include/linux/isdn.h
parent1ca6711ec001c1893552f1a90007f81dff57ca7a (diff)
TTY: isdn, remove callout
I wonder how this survived there during the whole 2.6 series until now :D. Callouts are not used for a decade, so let us remove it also from isdn. This means removal of ISDN_ASYNC_CALLOUT_ACTIVE which is never raised in info->flags and callout_termios which are never used. This will help us to get rid of ISDN_ASYNC_* flags and use ASYNC ones from serial.h. And then we will switch to tty_port. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Karsten Keil <isdn@linux-pingi.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/isdn.h')
-rw-r--r--include/linux/isdn.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h
index 292f27a793d4..d13b76df34b3 100644
--- a/include/linux/isdn.h
+++ b/include/linux/isdn.h
@@ -393,7 +393,6 @@ typedef struct isdn_net_dev_s {
393 393
394#define ISDN_ASYNC_MAGIC 0x49344C01 /* for paranoia-checking */ 394#define ISDN_ASYNC_MAGIC 0x49344C01 /* for paranoia-checking */
395#define ISDN_ASYNC_INITIALIZED 0x80000000 /* port was initialized */ 395#define ISDN_ASYNC_INITIALIZED 0x80000000 /* port was initialized */
396#define ISDN_ASYNC_CALLOUT_ACTIVE 0x40000000 /* Call out device active */
397#define ISDN_ASYNC_NORMAL_ACTIVE 0x20000000 /* Normal device active */ 396#define ISDN_ASYNC_NORMAL_ACTIVE 0x20000000 /* Normal device active */
398#define ISDN_ASYNC_CLOSING 0x08000000 /* Serial port is closing */ 397#define ISDN_ASYNC_CLOSING 0x08000000 /* Serial port is closing */
399#define ISDN_ASYNC_CTS_FLOW 0x04000000 /* Do CTS flow control */ 398#define ISDN_ASYNC_CTS_FLOW 0x04000000 /* Do CTS flow control */
@@ -498,8 +497,6 @@ typedef struct modem_info {
498#endif 497#endif
499 struct tty_struct *tty; /* Pointer to corresponding tty */ 498 struct tty_struct *tty; /* Pointer to corresponding tty */
500 atemu emu; /* AT-emulator data */ 499 atemu emu; /* AT-emulator data */
501 struct ktermios normal_termios; /* For saving termios structs */
502 struct ktermios callout_termios;
503 wait_queue_head_t open_wait, close_wait; 500 wait_queue_head_t open_wait, close_wait;
504 spinlock_t readlock; 501 spinlock_t readlock;
505} modem_info; 502} modem_info;