summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-05-31 22:35:55 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-05-31 22:35:55 +0000
commitaf9cf37e43c276b5ebe85c40a527b2004c7bb00c (patch)
tree36ed089c7642a03fb7027a3dfa7846d4bd082817 /sys/dev/usb
parent4d37f3729be0a83ecedc31dfe8b0811bdf1bcfd2 (diff)
downloadFreeBSD-src-af9cf37e43c276b5ebe85c40a527b2004c7bb00c.zip
FreeBSD-src-af9cf37e43c276b5ebe85c40a527b2004c7bb00c.tar.gz
1) Remove the definition of usb_cdc_generic_descriptor_t. It is
equivalent to usb_descriptor_t 2) Rename USB_CDC_CM_CM_OVER_DATA to USB_CDC_CM_OVER_DATA
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/usbcdc.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/usbcdc.h b/sys/dev/usb/usbcdc.h
index df7484a..5187a4a 100644
--- a/sys/dev/usb/usbcdc.h
+++ b/sys/dev/usb/usbcdc.h
@@ -64,12 +64,6 @@ typedef struct {
uByte bLength;
uByte bDescriptorType;
uByte bDescriptorSubtype;
-} usb_cdc_generic_descriptor_t;
-
-typedef struct {
- uByte bLength;
- uByte bDescriptorType;
- uByte bDescriptorSubtype;
uWord bcdCDC;
} usb_cdc_header_descriptor_t;
@@ -79,7 +73,7 @@ typedef struct {
uByte bDescriptorSubtype;
uByte bmCapabilities;
#define USB_CDC_CM_DOES_CM 0x01
-#define USB_CDC_CM_CM_OVER_DATA 0x02
+#define USB_CDC_CM_OVER_DATA 0x02
uByte bDataInterface;
} usb_cdc_cm_descriptor_t;
OpenPOWER on IntegriCloud