diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-29 08:49:56 -0600 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-29 08:49:56 -0600 |
| commit | 620a00187ea32b497e5cf46aa73949b5ad7a4fbf (patch) | |
| tree | 8c030213c36e5583f96043ab2a53989e912af72e /include | |
| parent | 772059d9ff21963bbc890b94f735f2d93d067173 (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')
| -rw-r--r-- | include/linux/isdn.h | 3 |
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 */ |
