mirror of
https://github.com/torvalds/linux.git
synced 2024-09-28 19:03:08 +00:00
gigaset: remove obsolete references to m10x state table
The separation of state tables for base and M10x has long been removed. Clean up remaining traces of it. Impact: cleanup Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d62fda082c
commit
528efc6a54
|
@ -672,14 +672,8 @@ struct cardstate *gigaset_initcs(struct gigaset_driver *drv, int channels,
|
||||||
cs->tty = NULL;
|
cs->tty = NULL;
|
||||||
cs->tty_dev = NULL;
|
cs->tty_dev = NULL;
|
||||||
cs->cidmode = cidmode != 0;
|
cs->cidmode = cidmode != 0;
|
||||||
|
cs->tabnocid = gigaset_tab_nocid;
|
||||||
//if(onechannel) { //FIXME
|
cs->tabcid = gigaset_tab_cid;
|
||||||
cs->tabnocid = gigaset_tab_nocid_m10x;
|
|
||||||
cs->tabcid = gigaset_tab_cid_m10x;
|
|
||||||
//} else {
|
|
||||||
// cs->tabnocid = gigaset_tab_nocid;
|
|
||||||
// cs->tabcid = gigaset_tab_cid;
|
|
||||||
//}
|
|
||||||
|
|
||||||
init_waitqueue_head(&cs->waitqueue);
|
init_waitqueue_head(&cs->waitqueue);
|
||||||
cs->waiting = 0;
|
cs->waiting = 0;
|
||||||
|
|
|
@ -160,7 +160,7 @@
|
||||||
|
|
||||||
|
|
||||||
// 100: init, 200: dle0, 250:dle1, 300: get cid (dial), 350: "hup" (no cid), 400: hup, 500: reset, 600: dial, 700: ring
|
// 100: init, 200: dle0, 250:dle1, 300: get cid (dial), 350: "hup" (no cid), 400: hup, 500: reset, 600: dial, 700: ring
|
||||||
struct reply_t gigaset_tab_nocid_m10x[]= /* with dle mode */
|
struct reply_t gigaset_tab_nocid[] =
|
||||||
{
|
{
|
||||||
/* resp_code, min_ConState, max_ConState, parameter, new_ConState, timeout, action, command */
|
/* resp_code, min_ConState, max_ConState, parameter, new_ConState, timeout, action, command */
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ struct reply_t gigaset_tab_nocid_m10x[]= /* with dle mode */
|
||||||
};
|
};
|
||||||
|
|
||||||
// 600: start dialing, 650: dial in progress, 800: connection is up, 700: ring, 400: hup, 750: accepted icall
|
// 600: start dialing, 650: dial in progress, 800: connection is up, 700: ring, 400: hup, 750: accepted icall
|
||||||
struct reply_t gigaset_tab_cid_m10x[] = /* for M10x */
|
struct reply_t gigaset_tab_cid[] =
|
||||||
{
|
{
|
||||||
/* resp_code, min_ConState, max_ConState, parameter, new_ConState, timeout, action, command */
|
/* resp_code, min_ConState, max_ConState, parameter, new_ConState, timeout, action, command */
|
||||||
|
|
||||||
|
|
|
@ -282,8 +282,8 @@ struct reply_t {
|
||||||
char *command; /* NULL==none */
|
char *command; /* NULL==none */
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct reply_t gigaset_tab_cid_m10x[];
|
extern struct reply_t gigaset_tab_cid[];
|
||||||
extern struct reply_t gigaset_tab_nocid_m10x[];
|
extern struct reply_t gigaset_tab_nocid[];
|
||||||
|
|
||||||
struct inbuf_t {
|
struct inbuf_t {
|
||||||
unsigned char *rcvbuf; /* usb-gigaset receive buffer */
|
unsigned char *rcvbuf; /* usb-gigaset receive buffer */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user