aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2024-11-11 12:14:05 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2024-11-17 09:59:26 +0000
commitc3a377dbbb87413eda18b8581126c215efc931f1 (patch)
tree0f04d9b8b0902d3d7c7d5064718318b261afd81a
parent3c113ee25c20bdfc66d310e17451d17f4c1ddb92 (diff)
downloadsrc-c3a377dbbb87413eda18b8581126c215efc931f1.tar.gz
src-c3a377dbbb87413eda18b8581126c215efc931f1.zip
usb: Add support for Brainboxes USB-to-Serial adapters
PR: 277482 Reported by: Cameron Williams (cherry picked from commit 8eaeaf5c467866cf72701cdc34f7ab2ee3c2f123)
-rw-r--r--sys/dev/usb/serial/uftdi.c18
-rw-r--r--sys/dev/usb/usbdevs18
2 files changed, 36 insertions, 0 deletions
diff --git a/sys/dev/usb/serial/uftdi.c b/sys/dev/usb/serial/uftdi.c
index 0a8d27c9e9c3..365e57692b71 100644
--- a/sys/dev/usb/serial/uftdi.c
+++ b/sys/dev/usb/serial/uftdi.c
@@ -291,8 +291,26 @@ static const STRUCT_USB_HOST_ID uftdi_devs[] = {
UFTDI_DEV(BBELECTRONICS, USPTL4, 0),
UFTDI_DEV(BBELECTRONICS, USTL4, 0),
UFTDI_DEV(BBELECTRONICS, ZZ_PROG1_USB, 0),
+ UFTDI_DEV(BRAINBOXES, US101, 0),
+ UFTDI_DEV(BRAINBOXES, US159, 0),
+ UFTDI_DEV(BRAINBOXES, US235, 0),
UFTDI_DEV(BRAINBOXES, US257, 0),
UFTDI_DEV(BRAINBOXES, US25701, 0),
+ UFTDI_DEV(BRAINBOXES, US279_12, 0),
+ UFTDI_DEV(BRAINBOXES, US279_34, 0),
+ UFTDI_DEV(BRAINBOXES, US279_56, 0),
+ UFTDI_DEV(BRAINBOXES, US279_78, 0),
+ UFTDI_DEV(BRAINBOXES, US313, 0),
+ UFTDI_DEV(BRAINBOXES, US320, 0),
+ UFTDI_DEV(BRAINBOXES, US324, 0),
+ UFTDI_DEV(BRAINBOXES, US346_12, 0),
+ UFTDI_DEV(BRAINBOXES, US346_34, 0),
+ UFTDI_DEV(BRAINBOXES, US701_12, 0),
+ UFTDI_DEV(BRAINBOXES, US701_34, 0),
+ UFTDI_DEV(BRAINBOXES, US842_12, 0),
+ UFTDI_DEV(BRAINBOXES, US842_34, 0),
+ UFTDI_DEV(BRAINBOXES, US842_56, 0),
+ UFTDI_DEV(BRAINBOXES, US842_78, 0),
UFTDI_DEV(CONTEC, COM1USBH, 0),
UFTDI_DEV(DRESDENELEKTRONIK, SENSORTERMINALBOARD, 0),
UFTDI_DEV(DRESDENELEKTRONIK, WIRELESSHANDHELDTERMINAL, 0),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 76270f596295..c08ce9bca1e2 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -1420,8 +1420,26 @@ product BILLIONTON USBE100 0x8511 USBE100
product BILLIONTON USB2AR 0x90ff USB2AR Ethernet
/* Brainboxes Limited products */
+product BRAINBOXES US101 0x1011 US-101 USB2Serial 1xRS232
+product BRAINBOXES US159 0x1021 US-159 USB2Serial 1xRS232
+product BRAINBOXES US235 0x1017 US-235 USB2Serial 1xRS232
product BRAINBOXES US257 0x5001 US-257 USB2Serial 2xRS232
product BRAINBOXES US25701 0x5002 US-25701 USB2Serial 2xRS232
+product BRAINBOXES US279_12 0x2021 US-279 USB2Serial 8xRS232 (Port 1 and 2)
+product BRAINBOXES US279_34 0x2022 US-279 USB2Serial 8xRS232 (Port 3 and 4)
+product BRAINBOXES US279_56 0x2023 US-279 USB2Serial 8xRS232 (Port 5 and 6)
+product BRAINBOXES US279_78 0x2024 US-279 USB2Serial 8xRS232 (Port 7 and 8)
+product BRAINBOXES US313 0x6001 US-313 USB2Serial 2xRS422/485
+product BRAINBOXES US320 0x1019 US-320 USB2Serial 1xRS422/485
+product BRAINBOXES US324 0x1013 US-324 USB2Serial 1xRS422/485
+product BRAINBOXES US346_12 0x3011 US-346 USB2Serial 4xRS422/485 (Port 1 and 2)
+product BRAINBOXES US346_34 0x3012 US-346 USB2Serial 4xRS422/485 (Port 3 and 4)
+product BRAINBOXES US701_12 0x2011 US-701 USB2Serial 4xRS232 (Port 1 and 2)
+product BRAINBOXES US701_34 0x2012 US-701 USB2Serial 4xRS232 (Port 3 and 4)
+product BRAINBOXES US842_12 0x8001 US-842 USB2Serial 8xRS-422/485 (Port 1 and 2)
+product BRAINBOXES US842_34 0x8002 US-842 USB2Serial 8xRS-422/485 (Port 3 and 4)
+product BRAINBOXES US842_56 0x8003 US-842 USB2Serial 8xRS-422/485 (Port 5 and 6)
+product BRAINBOXES US842_78 0x8004 US-842 USB2Serial 8xRS-422/485 (Port 7 and 8)
/* Broadcom products */
product BROADCOM BCM2033 0x2033 BCM2033 Bluetooth USB dongle