qcaux.c (32078f915d1acab356080b144aa89fe3487f3979) qcaux.c (68e24113457e437b1576670f2419b77ed0531e9e)
1/*
2 * Qualcomm USB Auxiliary Serial Port driver
3 *
4 * Copyright (C) 2008 Greg Kroah-Hartman <greg@kroah.com>
5 * Copyright (C) 2010 Dan Williams <dcbw@redhat.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 63 unchanged lines hidden (view full) ---

72 { USB_DEVICE_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, PANTECH_PRODUCT_UML190_VZW, 0xff, 0xfe, 0xff) },
73 { USB_DEVICE_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, PANTECH_PRODUCT_UML290_VZW, 0xff, 0xfd, 0xff) }, /* NMEA */
74 { USB_DEVICE_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, PANTECH_PRODUCT_UML290_VZW, 0xff, 0xfe, 0xff) }, /* WMC */
75 { USB_DEVICE_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, PANTECH_PRODUCT_UML290_VZW, 0xff, 0xff, 0xff) }, /* DIAG */
76 { },
77};
78MODULE_DEVICE_TABLE(usb, id_table);
79
1/*
2 * Qualcomm USB Auxiliary Serial Port driver
3 *
4 * Copyright (C) 2008 Greg Kroah-Hartman <greg@kroah.com>
5 * Copyright (C) 2010 Dan Williams <dcbw@redhat.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 63 unchanged lines hidden (view full) ---

72 { USB_DEVICE_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, PANTECH_PRODUCT_UML190_VZW, 0xff, 0xfe, 0xff) },
73 { USB_DEVICE_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, PANTECH_PRODUCT_UML290_VZW, 0xff, 0xfd, 0xff) }, /* NMEA */
74 { USB_DEVICE_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, PANTECH_PRODUCT_UML290_VZW, 0xff, 0xfe, 0xff) }, /* WMC */
75 { USB_DEVICE_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, PANTECH_PRODUCT_UML290_VZW, 0xff, 0xff, 0xff) }, /* DIAG */
76 { },
77};
78MODULE_DEVICE_TABLE(usb, id_table);
79
80static struct usb_driver qcaux_driver = {
81 .name = "qcaux",
82 .id_table = id_table,
83};
84
85static struct usb_serial_driver qcaux_device = {
86 .driver = {
87 .owner = THIS_MODULE,
88 .name = "qcaux",
89 },
90 .id_table = id_table,
91 .num_ports = 1,
92};
93
94static struct usb_serial_driver * const serial_drivers[] = {
95 &qcaux_device, NULL
96};
97
80static struct usb_serial_driver qcaux_device = {
81 .driver = {
82 .owner = THIS_MODULE,
83 .name = "qcaux",
84 },
85 .id_table = id_table,
86 .num_ports = 1,
87};
88
89static struct usb_serial_driver * const serial_drivers[] = {
90 &qcaux_device, NULL
91};
92
98module_usb_serial_driver(qcaux_driver, serial_drivers);
93module_usb_serial_driver(serial_drivers, id_table);
99MODULE_LICENSE("GPL");
94MODULE_LICENSE("GPL");