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/umodem.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/umodem.c')
-rw-r--r-- | sys/dev/usb/umodem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c index abdc81d..be03540 100644 --- a/sys/dev/usb/umodem.c +++ b/sys/dev/usb/umodem.c @@ -211,9 +211,9 @@ USB_MATCH(umodem) id = usbd_get_interface_descriptor(uaa->iface); if (id == 0 || - id->bInterfaceClass != UCLASS_CDC || - id->bInterfaceSubClass != USUBCLASS_ABSTRACT_CONTROL_MODEL || - id->bInterfaceProtocol != UPROTO_CDC_AT) + id->bInterfaceClass != UICLASS_CDC || + id->bInterfaceSubClass != UISUBCLASS_ABSTRACT_CONTROL_MODEL || + id->bInterfaceProtocol != UIPROTO_CDC_AT) return (UMATCH_NONE); umodem_get_caps(uaa->device, &cm, &acm); |