#include <linux/usb.h> #include <linux/usb/serial.h> #include <linux/slab.h> #include "usb-wwan.h" #define DRIVER_AUTHOR "Qualcomm Inc" #define DRIVER_DESC "Qualcomm USB Serial driver" static bool debug; #define DEVICE_G1K(v, p) \ USB_DEVICE(v, p), .driver_info = 1 static const struct usb_device_id id_table[] = { /* Gobi 1000 devices */ {DEVICE_G1K(0x05c6, 0x9211)}, /* Acer Gobi QDL device */ {DEVICE_G1K(0x05c6, 0x9212)}, /* Acer Gobi Modem Device */ {DEVICE_G1K(0x03f0, 0x1f1d)}, /* HP un2400 Gobi Modem Device */ {DEVICE_G1K(0x03f0, 0x201d)}, /* HP un2400 Gobi QDL Device */ {DEVICE_G1K(0x04da, 0x250d)}, /* Panasonic Gobi Modem device */ {DEVICE_G1K(0x04da, 0x250c)}, /* Panasonic Gobi QDL device */ {DEVICE_G1K(0x413c, 0x8172)}, /* Dell Gobi Modem device */ {DEVICE_G1K(0x413c, 0x8171)}, /* Dell Gobi QDL device */ {DEVICE_G1K(0x1410, 0xa001)}, /* Novatel Gobi Modem device */ {DEVICE_G1K(0x1410, 0xa008)}, /* Novatel Gobi QDL device */ {DEVICE_G1K(0x0b05, 0x1776)}, /* Asus Gobi Modem device */ {DEVICE_G1K(0x0b05, 0x1774)}, /* Asus Gobi QDL device */ {DEVICE_G1K(0x19d2, 0xfff3)}, /* ONDA Gobi Modem device */ {DEVICE_G1K(0x19d2, 0xfff2)}, /* ONDA Gobi QDL device */ {DEVICE_G1K(0x1557, 0x0a80)}, /* OQO Gobi QDL device */ {DEVICE_G1K(0x05c6, 0x9001)}, /* Generic Gobi Modem device */
#include <linux/usb/serial.h> #include <linux/slab.h> #include "usb-wwan.h" #include <mach/board_htc.h> #define DRIVER_AUTHOR "Qualcomm Inc" #define DRIVER_DESC "Qualcomm USB Serial driver" static bool debug; #define DEVICE_G1K(v, p) \ USB_DEVICE(v, p), .driver_info = 1 static const struct usb_device_id id_table[] = { {DEVICE_G1K(0x05c6, 0x9211)}, {DEVICE_G1K(0x05c6, 0x9212)}, {DEVICE_G1K(0x03f0, 0x1f1d)}, {DEVICE_G1K(0x03f0, 0x201d)}, {DEVICE_G1K(0x04da, 0x250d)}, {DEVICE_G1K(0x04da, 0x250c)}, {DEVICE_G1K(0x413c, 0x8172)}, {DEVICE_G1K(0x413c, 0x8171)}, {DEVICE_G1K(0x1410, 0xa001)}, {DEVICE_G1K(0x1410, 0xa008)}, {DEVICE_G1K(0x0b05, 0x1776)}, {DEVICE_G1K(0x0b05, 0x1774)}, {DEVICE_G1K(0x19d2, 0xfff3)}, {DEVICE_G1K(0x19d2, 0xfff2)}, {DEVICE_G1K(0x1557, 0x0a80)}, {DEVICE_G1K(0x05c6, 0x9001)},