summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-29 08:49:56 -0600
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-29 08:49:56 -0600
commit620a00187ea32b497e5cf46aa73949b5ad7a4fbf (patch)
tree8c030213c36e5583f96043ab2a53989e912af72e /include/linux
parent772059d9ff21963bbc890b94f735f2d93d067173 (diff)
ISDN: Move the tty receive queue out of generic code
Moving the tty receive queue into the tty-specific data in fact simplifies the common code (which doesn't need to know it at all, now), and the tty code, which can access the queue more directly.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/isdn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h
index 74376a0a5e38..4ab5ac856cc9 100644
--- a/include/linux/isdn.h
+++ b/include/linux/isdn.h
@@ -328,6 +328,8 @@ typedef struct modem_info {
int dialing; /* Dial in progress or ATA */
int rcvsched; /* Receive needs schedule */
int isdn_slot; /* Index to isdn-driver/channel */
+ struct sk_buff_head rpqueue; /* Queue of recv'd packets */
+ int rcvcount; /* Byte-counters for B rx */
int ncarrier; /* Flag: schedule NO CARRIER */
unsigned char last_cause[8]; /* Last cause message */
unsigned char last_num[ISDN_MSNLEN];
@@ -344,6 +346,7 @@ typedef struct modem_info {
struct sk_buff_head xmit_queue; /* transmit queue */
atomic_t xmit_lock; /* Semaphore for isdn_tty_write */
#ifdef CONFIG_ISDN_AUDIO
+ unsigned long DLEflag; /* Insert DLE at next read */
int vonline; /* Voice-channel status */
/* Bit 0 = recording */
/* Bit 1 = playback */