diff options
author | joe <joe@FreeBSD.org> | 2002-01-02 18:28:45 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-01-02 18:28:45 +0000 |
commit | cff14677d4168b96a21fef5ec1f1a19ae1572eb2 (patch) | |
tree | 73a1b42d48a7391ee1d021784f4b2fe6d53da6e7 /sys/dev/usb/uhci.c | |
parent | cec7ec547befb842623ced03b548a9157a372ecf (diff) | |
download | FreeBSD-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.c | 8 |
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 }; |