USB SERIAL: option.c: add 2020:4000 IDs
Subsystems (2)
PATCH 1/1 USB SERIAL: option.c: add 2020:4000 IDs
From: Claudio Cappelli <[email protected]>
Add device Olivetti Olicard 300 (Network Connect: MT6225) - IDs 2020:4000.
Signed-off-by Claudio Cappelli <[email protected]>
Suggested-by Lars Melin <[email protected]>
---
drivers/usb/serial/option.c | 1 +
1 file changed, 1 insertion(+)
drivers/usb/serial/option.c 2015-06-10 10:53:06.825265579 +0200 renamed from drivers/usb/serial/option.c.orig 2015-06-10 10:42:43.000000000 +0200 +1 -0
@@ -1765,6 +1765,7 @@ static const struct usb_device_id option { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x7d03, 0xff, 0x00, 0x00) }, { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e01, 0xff, 0xff, 0xff) }, /* D-Link DWM-152/C1 */ { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e02, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/C1 */ + { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x4000, 0xff) }, /* OLICARD300 - MT6225 */ { USB_DEVICE(INOVIA_VENDOR_ID, INOVIA_SEW858) }, { USB_DEVICE(VIATELECOM_VENDOR_ID, VIATELECOM_PRODUCT_CDS7) }, { } /* Terminating entry */
Johan Hovold
maintainerQuoted 16 lines · Claudio Cappelli
From: Claudio Cappelli <[email protected]>
Add device Olivetti Olicard 300 (Network Connect: MT6225) - IDs 2020:4000.
Signed-off-by Claudio Cappelli <[email protected]>Suggested-by Lars Melin <[email protected]>---
drivers/usb/serial/option.c| 1 +1 file changed, 1 insertion(+)
drivers/usb/serial/option.c 2015-06-10 10:53:06.825265579 +0200 static const struct usb_device_id option · line 1771
Quoted 7 lines
drivers/usb/serial/option.c 2015-06-10 10:53:06.825265579 +0200 renamed from drivers/usb/serial/option.c.orig 2015-06-10 10:42:43.000000000 +0200 +1
-0@@ -1765,6 +1765,7 @@ static const struct usb_device_id option { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x7d03, 0xff, 0x00, 0x00) }, { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e01, 0xff, 0xff, 0xff) }, /* D-Link DWM-152/C1 */ { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e02, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/C1 */ + { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x4000, 0xff) }, /* OLICARD300 - MT6225 */ { USB_DEVICE(INOVIA_VENDOR_ID, INOVIA_SEW858) }, { USB_DEVICE(VIATELECOM_VENDOR_ID, VIATELECOM_PRODUCT_CDS7) }, { } /* Terminating entry */
You should run checkpatch.pl on your patch before submitting. It would have let you know that there are some white space issues (leading spaces). You can ignore the long-line-warning in this case.
Thanks,
Johan