summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakanori Watanabe <takawata@FreeBSD.org>2007-04-30 16:15:19 +0000
committerTakanori Watanabe <takawata@FreeBSD.org>2007-04-30 16:15:19 +0000
commit0f23397d3f48d318ba3ad10e8d9e2cdb55657c7e (patch)
tree721fbb01ffacc4b794ce54a10184fc4cc8f9c592
parent903fd425355766987162083d5786122cdb6426b6 (diff)
Notes
-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 a9d92af60d3b..0715c6c31716 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 8f1462a5e1f3..cf28ce2d0f05 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