diff options
author | Peter Wemm <peter@FreeBSD.org> | 2001-08-08 23:04:31 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2001-08-08 23:04:31 +0000 |
commit | 8e5003b0ea4bd683a64964f94ddd49d2b2a8de0c (patch) | |
tree | 5ff31f6b80b3ec064eaaa273a078d98d93dd72b7 /sys/dev/usb/urio.c | |
parent | d2405064b4620e6ba4a6d87faecb259cffc095e6 (diff) | |
download | src-8e5003b0ea4bd683a64964f94ddd49d2b2a8de0c.tar.gz src-8e5003b0ea4bd683a64964f94ddd49d2b2a8de0c.zip |
Add the Rio 800 USB device IDs
Submitted by: Wesley Morgan <morganw@chemikals.org>
Notes
Notes:
svn path=/head/; revision=81320
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r-- | sys/dev/usb/urio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c index da01d6d3fe04..1e86195e89e0 100644 --- a/sys/dev/usb/urio.c +++ b/sys/dev/usb/urio.c @@ -181,8 +181,10 @@ USB_MATCH(urio) dd = usbd_get_device_descriptor(uaa->device); if (dd && - UGETW(dd->idVendor) == USB_VENDOR_DIAMOND && - UGETW(dd->idProduct) == USB_PRODUCT_DIAMOND_RIO500USB) + ((UGETW(dd->idVendor) == USB_VENDOR_DIAMOND && + UGETW(dd->idProduct) == USB_PRODUCT_DIAMOND_RIO500USB) || + (UGETW(dd->idVendor) == USB_VENDOR_DIAMOND2 && + UGETW(dd->idProduct) == USB_PRODUCT_DIAMOND2_RIO800USB))) return UMATCH_VENDOR_PRODUCT; else return UMATCH_NONE; |