option: Add support for Quectel EP06
Quoted 28 lines · Kristian Evensen
The Quectel EP06 is a Cat. 6 LTE modem, and the interface mapping is as follows:
0: Diag
1: NMEA
2: AT
3: ModemInterface 4 is QMI and interface 5 is ADB, so they are blacklisted.
Signed-off-by Kristian Evensen <[email protected]>--- drivers/usb/serial/option.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/usb/serial/option.c +1
-0@@ -241,6 +241,7 @@ static void option_instat_callback(struct urb *urb);#define QUECTEL_PRODUCT_EC21 0x0121#define QUECTEL_PRODUCT_EC25 0x0125#define QUECTEL_PRODUCT_BG96 0x0296 +#define QUECTEL_PRODUCT_EP06 0x0306#define CMOTECH_VENDOR_ID 0x16d8#define CMOTECH_PRODUCT_6001 0x6001
drivers/usb/serial/option.c static const struct option_blacklist_info yuga_clm920_nc5_blacklist = { · line 692
Quoted 6 lines
drivers/usb/serial/option.c +3
-0@@ -686,6 +687,10 @@ static const struct option_blacklist_info yuga_clm920_nc5_blacklist = { .reserved = BIT(1) | BIT(4), }; +static const struct option_blacklist_info quectel_ep06_blacklist = { + .reserved =BIT (4 ) |BIT (5 ), +};
This will probably have to do for now, but we already have another blacklist struct with the same content which we could rename and reuse.
Can you please just fix up the commit-summary prefix (use "USB: serial:
option: ...") and resend as a v2?
Thanks,
Johan
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html