You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
USB: serial: simple: add libtransistor console
Add simple driver for libtransistor USB console. This device is implemented in software: https://github.com/reswitched/libtransistor/blob/development/lib/usb_serial.c Signed-off-by: Collin May <collin@collinswebsite.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
@@ -62,6 +62,7 @@ config USB_SERIAL_SIMPLE
|
|||||||
- Fundamental Software dongle.
|
- Fundamental Software dongle.
|
||||||
- Google USB serial devices
|
- Google USB serial devices
|
||||||
- HP4x calculators
|
- HP4x calculators
|
||||||
|
- Libtransistor USB console
|
||||||
- a number of Motorola phones
|
- a number of Motorola phones
|
||||||
- Motorola Tetra devices
|
- Motorola Tetra devices
|
||||||
- Novatel Wireless GPS receivers
|
- Novatel Wireless GPS receivers
|
||||||
|
|||||||
@@ -63,6 +63,11 @@ DEVICE(flashloader, FLASHLOADER_IDS);
|
|||||||
0x01) }
|
0x01) }
|
||||||
DEVICE(google, GOOGLE_IDS);
|
DEVICE(google, GOOGLE_IDS);
|
||||||
|
|
||||||
|
/* Libtransistor USB console */
|
||||||
|
#define LIBTRANSISTOR_IDS() \
|
||||||
|
{ USB_DEVICE(0x1209, 0x8b00) }
|
||||||
|
DEVICE(libtransistor, LIBTRANSISTOR_IDS);
|
||||||
|
|
||||||
/* ViVOpay USB Serial Driver */
|
/* ViVOpay USB Serial Driver */
|
||||||
#define VIVOPAY_IDS() \
|
#define VIVOPAY_IDS() \
|
||||||
{ USB_DEVICE(0x1d5f, 0x1004) } /* ViVOpay 8800 */
|
{ USB_DEVICE(0x1d5f, 0x1004) } /* ViVOpay 8800 */
|
||||||
@@ -110,6 +115,7 @@ static struct usb_serial_driver * const serial_drivers[] = {
|
|||||||
&funsoft_device,
|
&funsoft_device,
|
||||||
&flashloader_device,
|
&flashloader_device,
|
||||||
&google_device,
|
&google_device,
|
||||||
|
&libtransistor_device,
|
||||||
&vivopay_device,
|
&vivopay_device,
|
||||||
&moto_modem_device,
|
&moto_modem_device,
|
||||||
&motorola_tetra_device,
|
&motorola_tetra_device,
|
||||||
@@ -126,6 +132,7 @@ static const struct usb_device_id id_table[] = {
|
|||||||
FUNSOFT_IDS(),
|
FUNSOFT_IDS(),
|
||||||
FLASHLOADER_IDS(),
|
FLASHLOADER_IDS(),
|
||||||
GOOGLE_IDS(),
|
GOOGLE_IDS(),
|
||||||
|
LIBTRANSISTOR_IDS(),
|
||||||
VIVOPAY_IDS(),
|
VIVOPAY_IDS(),
|
||||||
MOTO_IDS(),
|
MOTO_IDS(),
|
||||||
MOTOROLA_TETRA_IDS(),
|
MOTOROLA_TETRA_IDS(),
|
||||||
|
|||||||
Reference in New Issue
Block a user