diff options
-rw-r--r-- | drivers/isdn/gigaset/common.c | 10 | ||||
-rw-r--r-- | drivers/isdn/gigaset/ev-layer.c | 4 | ||||
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 4 |
3 files changed, 6 insertions, 12 deletions
diff --git a/drivers/isdn/gigaset/common.c b/drivers/isdn/gigaset/common.c index 0048ce98bfa8..79c9b0f40f4b 100644 --- a/drivers/isdn/gigaset/common.c +++ b/drivers/isdn/gigaset/common.c | |||
@@ -672,14 +672,8 @@ struct cardstate *gigaset_initcs(struct gigaset_driver *drv, int channels, | |||
672 | cs->tty = NULL; | 672 | cs->tty = NULL; |
673 | cs->tty_dev = NULL; | 673 | cs->tty_dev = NULL; |
674 | cs->cidmode = cidmode != 0; | 674 | cs->cidmode = cidmode != 0; |
675 | 675 | cs->tabnocid = gigaset_tab_nocid; | |
676 | //if(onechannel) { //FIXME | 676 | cs->tabcid = gigaset_tab_cid; |
677 | cs->tabnocid = gigaset_tab_nocid_m10x; | ||
678 | cs->tabcid = gigaset_tab_cid_m10x; | ||
679 | //} else { | ||
680 | // cs->tabnocid = gigaset_tab_nocid; | ||
681 | // cs->tabcid = gigaset_tab_cid; | ||
682 | //} | ||
683 | 677 | ||
684 | init_waitqueue_head(&cs->waitqueue); | 678 | init_waitqueue_head(&cs->waitqueue); |
685 | cs->waiting = 0; | 679 | cs->waiting = 0; |
diff --git a/drivers/isdn/gigaset/ev-layer.c b/drivers/isdn/gigaset/ev-layer.c index e582a4887bc1..ec5169604a6a 100644 --- a/drivers/isdn/gigaset/ev-layer.c +++ b/drivers/isdn/gigaset/ev-layer.c | |||
@@ -160,7 +160,7 @@ | |||
160 | 160 | ||
161 | 161 | ||
162 | // 100: init, 200: dle0, 250:dle1, 300: get cid (dial), 350: "hup" (no cid), 400: hup, 500: reset, 600: dial, 700: ring | 162 | // 100: init, 200: dle0, 250:dle1, 300: get cid (dial), 350: "hup" (no cid), 400: hup, 500: reset, 600: dial, 700: ring |
163 | struct reply_t gigaset_tab_nocid_m10x[]= /* with dle mode */ | 163 | struct reply_t gigaset_tab_nocid[] = |
164 | { | 164 | { |
165 | /* resp_code, min_ConState, max_ConState, parameter, new_ConState, timeout, action, command */ | 165 | /* resp_code, min_ConState, max_ConState, parameter, new_ConState, timeout, action, command */ |
166 | 166 | ||
@@ -280,7 +280,7 @@ struct reply_t gigaset_tab_nocid_m10x[]= /* with dle mode */ | |||
280 | }; | 280 | }; |
281 | 281 | ||
282 | // 600: start dialing, 650: dial in progress, 800: connection is up, 700: ring, 400: hup, 750: accepted icall | 282 | // 600: start dialing, 650: dial in progress, 800: connection is up, 700: ring, 400: hup, 750: accepted icall |
283 | struct reply_t gigaset_tab_cid_m10x[] = /* for M10x */ | 283 | struct reply_t gigaset_tab_cid[] = |
284 | { | 284 | { |
285 | /* resp_code, min_ConState, max_ConState, parameter, new_ConState, timeout, action, command */ | 285 | /* resp_code, min_ConState, max_ConState, parameter, new_ConState, timeout, action, command */ |
286 | 286 | ||
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index 747178f03d2c..d5f0110a8dfa 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -282,8 +282,8 @@ struct reply_t { | |||
282 | char *command; /* NULL==none */ | 282 | char *command; /* NULL==none */ |
283 | }; | 283 | }; |
284 | 284 | ||
285 | extern struct reply_t gigaset_tab_cid_m10x[]; | 285 | extern struct reply_t gigaset_tab_cid[]; |
286 | extern struct reply_t gigaset_tab_nocid_m10x[]; | 286 | extern struct reply_t gigaset_tab_nocid[]; |
287 | 287 | ||
288 | struct inbuf_t { | 288 | struct inbuf_t { |
289 | unsigned char *rcvbuf; /* usb-gigaset receive buffer */ | 289 | unsigned char *rcvbuf; /* usb-gigaset receive buffer */ |