From 620a00187ea32b497e5cf46aa73949b5ad7a4fbf Mon Sep 17 00:00:00 2001 From: Kai Germaschewski Date: Tue, 29 Oct 2002 08:49:56 -0600 Subject: 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. --- include/linux/isdn.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux') 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 */ -- cgit v1.2.3