summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-02 18:28:45 +0000
committerjoe <joe@FreeBSD.org>2002-01-02 18:28:45 +0000
commitcff14677d4168b96a21fef5ec1f1a19ae1572eb2 (patch)
tree73a1b42d48a7391ee1d021784f4b2fe6d53da6e7 /sys/dev/usb/uhci.c
parentcec7ec547befb842623ced03b548a9157a372ecf (diff)
downloadFreeBSD-src-cff14677d4168b96a21fef5ec1f1a19ae1572eb2.zip
FreeBSD-src-cff14677d4168b96a21fef5ec1f1a19ae1572eb2.tar.gz
Sync with NetBSD:
date: 2000/02/29 21:37:01; author: augustss; state: Exp; Distinguish between device and interface classes. (I finally found a document that said that they were different.)
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 8f36f5e..a98f28d 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -2540,8 +2540,8 @@ usb_device_descriptor_t uhci_devd = {
USB_DEVICE_DESCRIPTOR_SIZE,
UDESC_DEVICE, /* type */
{0x00, 0x01}, /* USB version */
- UCLASS_HUB, /* class */
- USUBCLASS_HUB, /* subclass */
+ UDCLASS_HUB, /* class */
+ UDSUBCLASS_HUB, /* subclass */
0, /* protocol */
64, /* max packet */
{0},{0},{0x00,0x01}, /* device id */
@@ -2568,8 +2568,8 @@ usb_interface_descriptor_t uhci_ifcd = {
0,
0,
1,
- UCLASS_HUB,
- USUBCLASS_HUB,
+ UICLASS_HUB,
+ UISUBCLASS_HUB,
0,
0
};
OpenPOWER on IntegriCloud