diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-05-26 01:49:52 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-05-26 01:49:52 -0500 |
| commit | b5919c97850033b55f50c50af447a2bd9cdad2ae (patch) | |
| tree | 3bc478ac1e942fa484e3e70443c7affc4384d98c /include | |
| parent | 2b8fd8057f3816060b8da69d0e954e3d762ea59e (diff) | |
ISDN/CAPI: Export callbacks for CAPI drivers directly
They're always the same, so no point in using function pointers.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/isdn/capilli.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/include/linux/isdn/capilli.h b/include/linux/isdn/capilli.h index 66d7def81116..cf501356aba4 100644 --- a/include/linux/isdn/capilli.h +++ b/include/linux/isdn/capilli.h @@ -59,14 +59,6 @@ struct capi_ctr { capi_profile profile; /* CAPI_GET_PROFILE */ u8 serial[CAPI_SERIAL_LEN]; /* CAPI_GET_SERIAL */ - /* functions */ - void (*ready)(struct capi_ctr * card); - void (*reseted)(struct capi_ctr * card); - void (*suspend_output)(struct capi_ctr * card); - void (*resume_output)(struct capi_ctr * card); - void (*handle_capimsg)(struct capi_ctr * card, - u16 appl, struct sk_buff *skb); - /* management information for kcapi */ unsigned long nrecvctlpkt; @@ -74,7 +66,6 @@ struct capi_ctr { unsigned long nsentctlpkt; unsigned long nsentdatapkt; - struct list_head driver_list; /* contrs by driver */ int cnr; /* controller number */ volatile unsigned short cardstate; /* controller state */ volatile int blocked; /* output blocked */ @@ -87,7 +78,11 @@ struct capi_ctr { int attach_capi_ctr(struct capi_ctr *); int detach_capi_ctr(struct capi_ctr *); - +void capi_ctr_ready(struct capi_ctr * card); +void capi_ctr_reseted(struct capi_ctr * card); +void capi_ctr_suspend_output(struct capi_ctr * card); +void capi_ctr_resume_output(struct capi_ctr * card); +void capi_ctr_handle_message(struct capi_ctr * card, u16 appl, struct sk_buff *skb); // --------------------------------------------------------------------------- // library functions for use by hardware controller drivers |
