summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2000-09-14 15:19:47 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2000-09-14 15:19:47 +0000
commit3b4d789d9cb23fa717d5de4b79c043b463b303cd (patch)
tree80e105c163680012af787f3da8cf12ece943f97c /sys/dev
parent5baf4438d90d5da9d373bf9c07d83b21e9bba66e (diff)
recognize Diamond RIO 600 USB; from NetBSD
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/urio.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index ff54d78d31d..2e79871e680 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: urio.c,v 1.2 2000/07/04 11:44:24 fgsch Exp $ */
-/* $NetBSD: urio.c,v 1.1 2000/04/14 14:20:02 augustss Exp $ */
+/* $OpenBSD: urio.c,v 1.3 2000/09/14 15:19:46 jakob Exp $ */
+/* $NetBSD: urio.c,v 1.4 2000/09/14 03:13:21 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -137,8 +137,11 @@ USB_MATCH(urio)
if (uaa->iface != NULL)
return (UMATCH_NONE);
- if (uaa->vendor == USB_VENDOR_DIAMOND &&
- uaa->product == USB_PRODUCT_DIAMOND_RIO500USB)
+ if ( ( uaa->vendor == USB_VENDOR_DIAMOND &&
+ uaa->product == USB_PRODUCT_DIAMOND_RIO500USB ) ||
+ ( uaa->vendor == USB_VENDOR_DIAMOND2 &&
+ uaa->product == USB_PRODUCT_DIAMOND2_RIO600USB )
+ )
return (UMATCH_VENDOR_PRODUCT);
else
return (UMATCH_NONE);