mirror of https://gitee.com/openkylin/linux.git
USB: serial: add Novatel Wireless GPS driver
Add simple driver for Novatel Wireless GPS receivers. Reported-by: Kirk Madsen <kirkm@Navsys.com> Tested-by: Kirk Madsen <kirkm@Navsys.com> Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
b9f040389e
commit
c5cd24d7b1
|
@ -61,6 +61,7 @@ config USB_SERIAL_SIMPLE
|
||||||
- Fundamental Software dongle.
|
- Fundamental Software dongle.
|
||||||
- HP4x calculators
|
- HP4x calculators
|
||||||
- a number of Motorola phones
|
- a number of Motorola phones
|
||||||
|
- Novatel Wireless GPS receivers
|
||||||
- Siemens USB/MPI adapter.
|
- Siemens USB/MPI adapter.
|
||||||
- ViVOtech ViVOpay USB device.
|
- ViVOtech ViVOpay USB device.
|
||||||
- Infineon Modem Flashloader USB interface
|
- Infineon Modem Flashloader USB interface
|
||||||
|
|
|
@ -65,6 +65,11 @@ DEVICE(vivopay, VIVOPAY_IDS);
|
||||||
{ USB_DEVICE(0x22b8, 0x2c64) } /* Motorola V950 phone */
|
{ USB_DEVICE(0x22b8, 0x2c64) } /* Motorola V950 phone */
|
||||||
DEVICE(moto_modem, MOTO_IDS);
|
DEVICE(moto_modem, MOTO_IDS);
|
||||||
|
|
||||||
|
/* Novatel Wireless GPS driver */
|
||||||
|
#define NOVATEL_IDS() \
|
||||||
|
{ USB_DEVICE(0x09d7, 0x0100) } /* NovAtel FlexPack GPS */
|
||||||
|
DEVICE_N(novatel_gps, NOVATEL_IDS, 3);
|
||||||
|
|
||||||
/* HP4x (48/49) Generic Serial driver */
|
/* HP4x (48/49) Generic Serial driver */
|
||||||
#define HP4X_IDS() \
|
#define HP4X_IDS() \
|
||||||
{ USB_DEVICE(0x03f0, 0x0121) }
|
{ USB_DEVICE(0x03f0, 0x0121) }
|
||||||
|
@ -88,6 +93,7 @@ static struct usb_serial_driver * const serial_drivers[] = {
|
||||||
&flashloader_device,
|
&flashloader_device,
|
||||||
&vivopay_device,
|
&vivopay_device,
|
||||||
&moto_modem_device,
|
&moto_modem_device,
|
||||||
|
&novatel_gps_device,
|
||||||
&hp4x_device,
|
&hp4x_device,
|
||||||
&suunto_device,
|
&suunto_device,
|
||||||
&siemens_mpi_device,
|
&siemens_mpi_device,
|
||||||
|
@ -100,6 +106,7 @@ static const struct usb_device_id id_table[] = {
|
||||||
FLASHLOADER_IDS(),
|
FLASHLOADER_IDS(),
|
||||||
VIVOPAY_IDS(),
|
VIVOPAY_IDS(),
|
||||||
MOTO_IDS(),
|
MOTO_IDS(),
|
||||||
|
NOVATEL_IDS(),
|
||||||
HP4X_IDS(),
|
HP4X_IDS(),
|
||||||
SUUNTO_IDS(),
|
SUUNTO_IDS(),
|
||||||
SIEMENS_IDS(),
|
SIEMENS_IDS(),
|
||||||
|
|
Loading…
Reference in New Issue