diff options
Diffstat (limited to 'drivers/usb/serial/keyspan.h')
-rw-r--r-- | drivers/usb/serial/keyspan.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/usb/serial/keyspan.h b/drivers/usb/serial/keyspan.h index 7472ed6bf626..c6830cbdc6df 100644 --- a/drivers/usb/serial/keyspan.h +++ b/drivers/usb/serial/keyspan.h | |||
@@ -59,7 +59,7 @@ static int keyspan_ioctl (struct usb_serial_port *port, | |||
59 | unsigned int cmd, | 59 | unsigned int cmd, |
60 | unsigned long arg); | 60 | unsigned long arg); |
61 | static void keyspan_set_termios (struct usb_serial_port *port, | 61 | static void keyspan_set_termios (struct usb_serial_port *port, |
62 | struct termios *old); | 62 | struct ktermios *old); |
63 | static void keyspan_break_ctl (struct usb_serial_port *port, | 63 | static void keyspan_break_ctl (struct usb_serial_port *port, |
64 | int break_state); | 64 | int break_state); |
65 | static int keyspan_tiocmget (struct usb_serial_port *port, | 65 | static int keyspan_tiocmget (struct usb_serial_port *port, |
@@ -229,7 +229,6 @@ struct ezusb_hex_record { | |||
229 | #define keyspan_usa28_product_id 0x010f | 229 | #define keyspan_usa28_product_id 0x010f |
230 | #define keyspan_usa28x_product_id 0x0110 | 230 | #define keyspan_usa28x_product_id 0x0110 |
231 | #define keyspan_usa28xa_product_id 0x0115 | 231 | #define keyspan_usa28xa_product_id 0x0115 |
232 | #define keyspan_usa28xb_product_id 0x0110 | ||
233 | #define keyspan_usa49w_product_id 0x010a | 232 | #define keyspan_usa49w_product_id 0x010a |
234 | #define keyspan_usa49wlc_product_id 0x012a | 233 | #define keyspan_usa49wlc_product_id 0x012a |
235 | 234 | ||
@@ -511,7 +510,6 @@ static struct usb_device_id keyspan_ids_combined[] = { | |||
511 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28_product_id) }, | 510 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28_product_id) }, |
512 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28x_product_id) }, | 511 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28x_product_id) }, |
513 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28xa_product_id) }, | 512 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28xa_product_id) }, |
514 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28xb_product_id) }, | ||
515 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa49w_product_id)}, | 513 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa49w_product_id)}, |
516 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa49wlc_product_id)}, | 514 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa49wlc_product_id)}, |
517 | { } /* Terminating entry */ | 515 | { } /* Terminating entry */ |
@@ -559,7 +557,6 @@ static struct usb_device_id keyspan_2port_ids[] = { | |||
559 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28_product_id) }, | 557 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28_product_id) }, |
560 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28x_product_id) }, | 558 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28x_product_id) }, |
561 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28xa_product_id) }, | 559 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28xa_product_id) }, |
562 | { USB_DEVICE(KEYSPAN_VENDOR_ID, keyspan_usa28xb_product_id) }, | ||
563 | { } /* Terminating entry */ | 560 | { } /* Terminating entry */ |
564 | }; | 561 | }; |
565 | 562 | ||
@@ -576,6 +573,7 @@ static struct usb_serial_driver keyspan_pre_device = { | |||
576 | .name = "keyspan_no_firm", | 573 | .name = "keyspan_no_firm", |
577 | }, | 574 | }, |
578 | .description = "Keyspan - (without firmware)", | 575 | .description = "Keyspan - (without firmware)", |
576 | .usb_driver = &keyspan_driver, | ||
579 | .id_table = keyspan_pre_ids, | 577 | .id_table = keyspan_pre_ids, |
580 | .num_interrupt_in = NUM_DONT_CARE, | 578 | .num_interrupt_in = NUM_DONT_CARE, |
581 | .num_bulk_in = NUM_DONT_CARE, | 579 | .num_bulk_in = NUM_DONT_CARE, |
@@ -590,6 +588,7 @@ static struct usb_serial_driver keyspan_1port_device = { | |||
590 | .name = "keyspan_1", | 588 | .name = "keyspan_1", |
591 | }, | 589 | }, |
592 | .description = "Keyspan 1 port adapter", | 590 | .description = "Keyspan 1 port adapter", |
591 | .usb_driver = &keyspan_driver, | ||
593 | .id_table = keyspan_1port_ids, | 592 | .id_table = keyspan_1port_ids, |
594 | .num_interrupt_in = NUM_DONT_CARE, | 593 | .num_interrupt_in = NUM_DONT_CARE, |
595 | .num_bulk_in = NUM_DONT_CARE, | 594 | .num_bulk_in = NUM_DONT_CARE, |
@@ -617,6 +616,7 @@ static struct usb_serial_driver keyspan_2port_device = { | |||
617 | .name = "keyspan_2", | 616 | .name = "keyspan_2", |
618 | }, | 617 | }, |
619 | .description = "Keyspan 2 port adapter", | 618 | .description = "Keyspan 2 port adapter", |
619 | .usb_driver = &keyspan_driver, | ||
620 | .id_table = keyspan_2port_ids, | 620 | .id_table = keyspan_2port_ids, |
621 | .num_interrupt_in = NUM_DONT_CARE, | 621 | .num_interrupt_in = NUM_DONT_CARE, |
622 | .num_bulk_in = NUM_DONT_CARE, | 622 | .num_bulk_in = NUM_DONT_CARE, |
@@ -644,6 +644,7 @@ static struct usb_serial_driver keyspan_4port_device = { | |||
644 | .name = "keyspan_4", | 644 | .name = "keyspan_4", |
645 | }, | 645 | }, |
646 | .description = "Keyspan 4 port adapter", | 646 | .description = "Keyspan 4 port adapter", |
647 | .usb_driver = &keyspan_driver, | ||
647 | .id_table = keyspan_4port_ids, | 648 | .id_table = keyspan_4port_ids, |
648 | .num_interrupt_in = NUM_DONT_CARE, | 649 | .num_interrupt_in = NUM_DONT_CARE, |
649 | .num_bulk_in = 5, | 650 | .num_bulk_in = 5, |