diff options
author | Johan Hovold <johan@kernel.org> | 2014-08-18 12:14:53 -0400 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2014-09-01 06:04:27 -0400 |
commit | c5cd24d7b179a415df263e5b18b72f6e3aaf81e0 (patch) | |
tree | f653660da115ad43da888ffc6f9aaf67911eff2c | |
parent | b9f040389e23fb95fde36cb0a3c2c516fb3e9d1c (diff) |
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>
-rw-r--r-- | drivers/usb/serial/Kconfig | 1 | ||||
-rw-r--r-- | drivers/usb/serial/usb-serial-simple.c | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/serial/Kconfig b/drivers/usb/serial/Kconfig index 3ce5c74b29e4..ab05158ad03e 100644 --- a/drivers/usb/serial/Kconfig +++ b/drivers/usb/serial/Kconfig | |||
@@ -61,6 +61,7 @@ config USB_SERIAL_SIMPLE | |||
61 | - Fundamental Software dongle. | 61 | - Fundamental Software dongle. |
62 | - HP4x calculators | 62 | - HP4x calculators |
63 | - a number of Motorola phones | 63 | - a number of Motorola phones |
64 | - Novatel Wireless GPS receivers | ||
64 | - Siemens USB/MPI adapter. | 65 | - Siemens USB/MPI adapter. |
65 | - ViVOtech ViVOpay USB device. | 66 | - ViVOtech ViVOpay USB device. |
66 | - Infineon Modem Flashloader USB interface | 67 | - Infineon Modem Flashloader USB interface |
diff --git a/drivers/usb/serial/usb-serial-simple.c b/drivers/usb/serial/usb-serial-simple.c index 02cb77a1e79d..5565308c870c 100644 --- a/drivers/usb/serial/usb-serial-simple.c +++ b/drivers/usb/serial/usb-serial-simple.c | |||
@@ -65,6 +65,11 @@ DEVICE(vivopay, VIVOPAY_IDS); | |||
65 | { USB_DEVICE(0x22b8, 0x2c64) } /* Motorola V950 phone */ | 65 | { USB_DEVICE(0x22b8, 0x2c64) } /* Motorola V950 phone */ |
66 | DEVICE(moto_modem, MOTO_IDS); | 66 | DEVICE(moto_modem, MOTO_IDS); |
67 | 67 | ||
68 | /* Novatel Wireless GPS driver */ | ||
69 | #define NOVATEL_IDS() \ | ||
70 | { USB_DEVICE(0x09d7, 0x0100) } /* NovAtel FlexPack GPS */ | ||
71 | DEVICE_N(novatel_gps, NOVATEL_IDS, 3); | ||
72 | |||
68 | /* HP4x (48/49) Generic Serial driver */ | 73 | /* HP4x (48/49) Generic Serial driver */ |
69 | #define HP4X_IDS() \ | 74 | #define HP4X_IDS() \ |
70 | { USB_DEVICE(0x03f0, 0x0121) } | 75 | { USB_DEVICE(0x03f0, 0x0121) } |
@@ -88,6 +93,7 @@ static struct usb_serial_driver * const serial_drivers[] = { | |||
88 | &flashloader_device, | 93 | &flashloader_device, |
89 | &vivopay_device, | 94 | &vivopay_device, |
90 | &moto_modem_device, | 95 | &moto_modem_device, |
96 | &novatel_gps_device, | ||
91 | &hp4x_device, | 97 | &hp4x_device, |
92 | &suunto_device, | 98 | &suunto_device, |
93 | &siemens_mpi_device, | 99 | &siemens_mpi_device, |
@@ -100,6 +106,7 @@ static const struct usb_device_id id_table[] = { | |||
100 | FLASHLOADER_IDS(), | 106 | FLASHLOADER_IDS(), |
101 | VIVOPAY_IDS(), | 107 | VIVOPAY_IDS(), |
102 | MOTO_IDS(), | 108 | MOTO_IDS(), |
109 | NOVATEL_IDS(), | ||
103 | HP4X_IDS(), | 110 | HP4X_IDS(), |
104 | SUUNTO_IDS(), | 111 | SUUNTO_IDS(), |
105 | SIEMENS_IDS(), | 112 | SIEMENS_IDS(), |