aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/gigaset/gigaset.h
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2009-10-06 08:19:17 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-07 01:43:53 -0400
commit7bb5fdc2fb021e32703ed1ff0269876bde1fa962 (patch)
tree818c29b7ed3ece19165d317050c333bab9f7fadb /drivers/isdn/gigaset/gigaset.h
parentaaba2b3f8213e1d66e71c351fa7a2b1cbd974d3c (diff)
gigaset: add Kernel CAPI interface (v3)
Add a Kernel CAPI interface to the Gigaset driver. Impact: optional new functionality Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r--drivers/isdn/gigaset/gigaset.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h
index 1185da2dbf61..4749ef100fd3 100644
--- a/drivers/isdn/gigaset/gigaset.h
+++ b/drivers/isdn/gigaset/gigaset.h
@@ -191,7 +191,9 @@ void gigaset_dbg_buffer(enum debuglevel level, const unsigned char *msg,
191#define AT_PROTO 4 191#define AT_PROTO 4
192#define AT_TYPE 5 192#define AT_TYPE 5
193#define AT_HLC 6 193#define AT_HLC 6
194#define AT_NUM 7 194#define AT_CLIP 7
195/* total number */
196#define AT_NUM 8
195 197
196/* variables in struct at_state_t */ 198/* variables in struct at_state_t */
197#define VAR_ZSAU 0 199#define VAR_ZSAU 0
@@ -412,6 +414,8 @@ struct bc_state {
412 struct usb_bc_state *usb; /* usb hardware driver (m105) */ 414 struct usb_bc_state *usb; /* usb hardware driver (m105) */
413 struct bas_bc_state *bas; /* usb hardware driver (base) */ 415 struct bas_bc_state *bas; /* usb hardware driver (base) */
414 } hw; 416 } hw;
417
418 void *ap; /* LL application structure */
415}; 419};
416 420
417struct cardstate { 421struct cardstate {
@@ -725,6 +729,7 @@ void gigaset_bcs_reinit(struct bc_state *bcs);
725void gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs, 729void gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs,
726 struct cardstate *cs, int cid); 730 struct cardstate *cs, int cid);
727int gigaset_get_channel(struct bc_state *bcs); 731int gigaset_get_channel(struct bc_state *bcs);
732struct bc_state *gigaset_get_free_channel(struct cardstate *cs);
728void gigaset_free_channel(struct bc_state *bcs); 733void gigaset_free_channel(struct bc_state *bcs);
729int gigaset_get_channels(struct cardstate *cs); 734int gigaset_get_channels(struct cardstate *cs);
730void gigaset_free_channels(struct cardstate *cs); 735void gigaset_free_channels(struct cardstate *cs);