diff options
Diffstat (limited to 'drivers/isdn/sc/command.c')
-rw-r--r-- | drivers/isdn/sc/command.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/drivers/isdn/sc/command.c b/drivers/isdn/sc/command.c index 04b8a58f03b5..b7bb7cbcf503 100644 --- a/drivers/isdn/sc/command.c +++ b/drivers/isdn/sc/command.c | |||
@@ -31,19 +31,6 @@ static int setl2(int card, unsigned long arg); | |||
31 | static int setl3(int card, unsigned long arg); | 31 | static int setl3(int card, unsigned long arg); |
32 | static int acceptb(int card, unsigned long channel); | 32 | static int acceptb(int card, unsigned long channel); |
33 | 33 | ||
34 | extern int cinst; | ||
35 | extern board *sc_adapter[]; | ||
36 | |||
37 | extern int sc_ioctl(int, scs_ioctl *); | ||
38 | extern int setup_buffers(int, int, unsigned int); | ||
39 | extern int indicate_status(int, int,ulong,char*); | ||
40 | extern void check_reset(unsigned long); | ||
41 | extern int send_and_receive(int, unsigned int, unsigned char, unsigned char, | ||
42 | unsigned char, unsigned char, unsigned char, unsigned char *, | ||
43 | RspMessage *, int); | ||
44 | extern int sendmessage(int, unsigned int, unsigned int, unsigned int, | ||
45 | unsigned int, unsigned int, unsigned int, unsigned int *); | ||
46 | |||
47 | #ifdef DEBUG | 34 | #ifdef DEBUG |
48 | /* | 35 | /* |
49 | * Translate command codes to strings | 36 | * Translate command codes to strings |
@@ -208,7 +195,7 @@ static int answer(int card, unsigned long channel) | |||
208 | return -ENODEV; | 195 | return -ENODEV; |
209 | } | 196 | } |
210 | 197 | ||
211 | if(setup_buffers(card, channel+1, BUFFER_SIZE)) { | 198 | if(setup_buffers(card, channel+1)) { |
212 | hangup(card, channel+1); | 199 | hangup(card, channel+1); |
213 | return -ENOBUFS; | 200 | return -ENOBUFS; |
214 | } | 201 | } |
@@ -297,7 +284,7 @@ static int acceptb(int card, unsigned long channel) | |||
297 | return -ENODEV; | 284 | return -ENODEV; |
298 | } | 285 | } |
299 | 286 | ||
300 | if(setup_buffers(card, channel+1, BUFFER_SIZE)) | 287 | if(setup_buffers(card, channel+1)) |
301 | { | 288 | { |
302 | hangup(card, channel+1); | 289 | hangup(card, channel+1); |
303 | return -ENOBUFS; | 290 | return -ENOBUFS; |