diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hisax/isar.c | 1 | ||||
-rw-r--r-- | drivers/isdn/hisax/isdnl1.h | 17 | ||||
-rw-r--r-- | drivers/isdn/hisax/isdnl3.c | 12 | ||||
-rw-r--r-- | drivers/isdn/hisax/isdnl3.h | 26 |
4 files changed, 24 insertions, 32 deletions
diff --git a/drivers/isdn/hisax/isar.c b/drivers/isdn/hisax/isar.c index 6f1a6583b17d..9df9e3548cf1 100644 --- a/drivers/isdn/hisax/isar.c +++ b/drivers/isdn/hisax/isar.c | |||
@@ -431,7 +431,6 @@ reterror: | |||
431 | return(ret); | 431 | return(ret); |
432 | } | 432 | } |
433 | 433 | ||
434 | extern void BChannel_bh(struct BCState *); | ||
435 | #define B_LL_NOCARRIER 8 | 434 | #define B_LL_NOCARRIER 8 |
436 | #define B_LL_CONNECT 9 | 435 | #define B_LL_CONNECT 9 |
437 | #define B_LL_OK 10 | 436 | #define B_LL_OK 10 |
diff --git a/drivers/isdn/hisax/isdnl1.h b/drivers/isdn/hisax/isdnl1.h index 0e88cfabdf10..172ad4c8c961 100644 --- a/drivers/isdn/hisax/isdnl1.h +++ b/drivers/isdn/hisax/isdnl1.h | |||
@@ -21,12 +21,11 @@ | |||
21 | #define B_XMTBUFREADY 1 | 21 | #define B_XMTBUFREADY 1 |
22 | #define B_ACKPENDING 2 | 22 | #define B_ACKPENDING 2 |
23 | 23 | ||
24 | extern void debugl1(struct IsdnCardState *cs, char *fmt, ...); | 24 | void debugl1(struct IsdnCardState *cs, char *fmt, ...); |
25 | extern void DChannel_proc_xmt(struct IsdnCardState *cs); | 25 | void DChannel_proc_xmt(struct IsdnCardState *cs); |
26 | extern void DChannel_proc_rcv(struct IsdnCardState *cs); | 26 | void DChannel_proc_rcv(struct IsdnCardState *cs); |
27 | extern void l1_msg(struct IsdnCardState *cs, int pr, void *arg); | 27 | void l1_msg(struct IsdnCardState *cs, int pr, void *arg); |
28 | extern void l1_msg_b(struct PStack *st, int pr, void *arg); | 28 | void l1_msg_b(struct PStack *st, int pr, void *arg); |
29 | 29 | void Logl2Frame(struct IsdnCardState *cs, struct sk_buff *skb, char *buf, | |
30 | #ifdef L2FRAME_DEBUG | 30 | int dir); |
31 | extern void Logl2Frame(struct IsdnCardState *cs, struct sk_buff *skb, char *buf, int dir); | 31 | void BChannel_bh(struct work_struct *work); |
32 | #endif | ||
diff --git a/drivers/isdn/hisax/isdnl3.c b/drivers/isdn/hisax/isdnl3.c index 281fa27d9f00..935f23356fae 100644 --- a/drivers/isdn/hisax/isdnl3.c +++ b/drivers/isdn/hisax/isdnl3.c | |||
@@ -231,18 +231,6 @@ no_l3_proto_spec(struct PStack *st, isdn_ctrl *ic) | |||
231 | return(-1); | 231 | return(-1); |
232 | } | 232 | } |
233 | 233 | ||
234 | #ifdef CONFIG_HISAX_EURO | ||
235 | extern void setstack_dss1(struct PStack *st); | ||
236 | #endif | ||
237 | |||
238 | #ifdef CONFIG_HISAX_NI1 | ||
239 | extern void setstack_ni1(struct PStack *st); | ||
240 | #endif | ||
241 | |||
242 | #ifdef CONFIG_HISAX_1TR6 | ||
243 | extern void setstack_1tr6(struct PStack *st); | ||
244 | #endif | ||
245 | |||
246 | struct l3_process | 234 | struct l3_process |
247 | *getl3proc(struct PStack *st, int cr) | 235 | *getl3proc(struct PStack *st, int cr) |
248 | { | 236 | { |
diff --git a/drivers/isdn/hisax/isdnl3.h b/drivers/isdn/hisax/isdnl3.h index 1dbe0297a506..749498fe6c4b 100644 --- a/drivers/isdn/hisax/isdnl3.h +++ b/drivers/isdn/hisax/isdnl3.h | |||
@@ -25,13 +25,19 @@ struct stateentry { | |||
25 | 25 | ||
26 | #define l3_debug(st, fmt, args...) HiSax_putstatus(st->l1.hardware, "l3 ", fmt, ## args) | 26 | #define l3_debug(st, fmt, args...) HiSax_putstatus(st->l1.hardware, "l3 ", fmt, ## args) |
27 | 27 | ||
28 | extern void newl3state(struct l3_process *pc, int state); | 28 | struct PStack; |
29 | extern void L3InitTimer(struct l3_process *pc, struct L3Timer *t); | 29 | |
30 | extern void L3DelTimer(struct L3Timer *t); | 30 | void newl3state(struct l3_process *pc, int state); |
31 | extern int L3AddTimer(struct L3Timer *t, int millisec, int event); | 31 | void L3InitTimer(struct l3_process *pc, struct L3Timer *t); |
32 | extern void StopAllL3Timer(struct l3_process *pc); | 32 | void L3DelTimer(struct L3Timer *t); |
33 | extern struct sk_buff *l3_alloc_skb(int len); | 33 | int L3AddTimer(struct L3Timer *t, int millisec, int event); |
34 | extern struct l3_process *new_l3_process(struct PStack *st, int cr); | 34 | void StopAllL3Timer(struct l3_process *pc); |
35 | extern void release_l3_process(struct l3_process *p); | 35 | struct sk_buff *l3_alloc_skb(int len); |
36 | extern struct l3_process *getl3proc(struct PStack *st, int cr); | 36 | struct l3_process *new_l3_process(struct PStack *st, int cr); |
37 | extern void l3_msg(struct PStack *st, int pr, void *arg); | 37 | void release_l3_process(struct l3_process *p); |
38 | struct l3_process *getl3proc(struct PStack *st, int cr); | ||
39 | void l3_msg(struct PStack *st, int pr, void *arg); | ||
40 | void setstack_dss1(struct PStack *st); | ||
41 | void setstack_ni1(struct PStack *st); | ||
42 | void setstack_1tr6(struct PStack *st); | ||
43 | |||