mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Add support for the B&B Electronics USB->RS422/485 adapter.
PR: kern/73178 Submitted by: Scott Price <prices@dflytech.com>
This commit is contained in:
parent
b4d4574a55
commit
bdb93b0178
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137063
@ -172,6 +172,9 @@ USB_MATCH(uftdi)
|
||||
(uaa->product == USB_PRODUCT_INTREPIDCS_VALUECAN ||
|
||||
uaa->product == USB_PRODUCT_INTREPIDCS_NEOVI))
|
||||
return (UMATCH_VENDOR_PRODUCT);
|
||||
if (uaa->vendor == USB_VENDOR_BBELECTRONICS &&
|
||||
(uaa->product == USB_PRODUCT_BBELECTRONICS_USOTL4))
|
||||
return (UMATCH_VENDOR_PRODUCT);
|
||||
|
||||
return (UMATCH_NONE);
|
||||
}
|
||||
@ -269,6 +272,18 @@ USB_ATTACH(uftdi)
|
||||
}
|
||||
break;
|
||||
|
||||
case USB_VENDOR_BBELECTRONICS:
|
||||
switch( uaa->product ){
|
||||
case USB_PRODUCT_BBELECTRONICS_USOTL4:
|
||||
sc->sc_type = UFTDI_TYPE_8U232AM;
|
||||
sc->sc_hdrlen = 0;
|
||||
break;
|
||||
|
||||
default: /* Can't happen */
|
||||
goto bad;
|
||||
}
|
||||
break;
|
||||
|
||||
default: /* Can't happen */
|
||||
goto bad;
|
||||
}
|
||||
|
@ -363,6 +363,7 @@ vendor ACCTON 0x083a Accton Technology
|
||||
vendor DIAMOND 0x0841 Diamond
|
||||
vendor NETGEAR 0x0846 BayNETGEAR
|
||||
vendor ACTIVEWIRE 0x0854 ActiveWire
|
||||
vendor BBELECTRONICS 0x0856 B&B Electronics
|
||||
vendor PORTGEAR 0x085a PortGear
|
||||
vendor SYSTEMTALKS 0x086e System TALKS, Inc.
|
||||
vendor METRICOM 0x0870 Metricom
|
||||
@ -583,6 +584,9 @@ product ATMEL AT76C505A 0x7614 AT76c505a Wireless adapter
|
||||
/* Avision products */
|
||||
product AVISION 1200U 0x0268 1200U scanner
|
||||
|
||||
/* B&B Electronics products */
|
||||
product BBELECTRONICS USOTL4 0xAC01 uLinks Isolated RS-422/485 to USB adapter
|
||||
|
||||
/* Belkin products */
|
||||
/*product BELKIN F5U111 0x???? F5U111 Ethernet adapter*/
|
||||
product BELKIN2 F5U002 0x0002 F5U002 Parallel printer adapter
|
||||
|
Loading…
Reference in New Issue
Block a user