summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb/uftdi.c15
-rw-r--r--sys/dev/usb/usbdevs1
2 files changed, 16 insertions, 0 deletions
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c
index a9d92af..0715c6c 100644
--- a/sys/dev/usb/uftdi.c
+++ b/sys/dev/usb/uftdi.c
@@ -179,6 +179,9 @@ USB_MATCH(uftdi)
if (uaa->vendor == USB_VENDOR_BBELECTRONICS &&
(uaa->product == USB_PRODUCT_BBELECTRONICS_USOTL4))
return (UMATCH_VENDOR_PRODUCT);
+ if (uaa->vendor == USB_VENDOR_MELCO &&
+ (uaa->product == USB_PRODUCT_MELCO_PCOPRS1))
+ return (UMATCH_VENDOR_PRODUCT);
return (UMATCH_NONE);
}
@@ -293,6 +296,18 @@ USB_ATTACH(uftdi)
}
break;
+ case USB_VENDOR_MELCO:
+ switch( uaa->product ){
+ case USB_PRODUCT_MELCO_PCOPRS1:
+ sc->sc_type = UFTDI_TYPE_8U232AM;
+ sc->sc_hdrlen = 0;
+ break;
+
+ default: /* Can't happen */
+ goto bad;
+ }
+ break;
+
default: /* Can't happen */
goto bad;
}
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 8f1462a..cf28ce2 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -1298,6 +1298,7 @@ product MELCO KG54YB 0x005e WLI-U2-KG54-YB WLAN
product MELCO KG54 0x0066 WLI-U2-KG54 WLAN
product MELCO KG54AI 0x0067 WLI-U2-KG54-AI WLAN
product MELCO NINWIFI 0x008b Nintendo Wi-Fi
+product MELCO PCOPRS1 0x00b3 PC-OP-RS1 RemoteStation
/* Metricom products */
product METRICOM RICOCHET_GS 0x0001 Ricochet GS
OpenPOWER on IntegriCloud