summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_cdc.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-05-28 17:36:36 +0000
committerthompsa <thompsa@FreeBSD.org>2009-05-28 17:36:36 +0000
commitaf6fb4f3d2a2950c2a2c95bc3148ee16510149de (patch)
tree3036722a60a7a9ddd5122172e56736f3e128664b /sys/dev/usb/usb_cdc.h
parentd691011026fb63bdede5854aaa7547c7c019cd38 (diff)
downloadFreeBSD-src-af6fb4f3d2a2950c2a2c95bc3148ee16510149de.zip
FreeBSD-src-af6fb4f3d2a2950c2a2c95bc3148ee16510149de.tar.gz
s/usb2_/usb_/ on all C structs for the USB stack.
Diffstat (limited to 'sys/dev/usb/usb_cdc.h')
-rw-r--r--sys/dev/usb/usb_cdc.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/usb/usb_cdc.h b/sys/dev/usb/usb_cdc.h
index d1e3dcb..f6e312c 100644
--- a/sys/dev/usb/usb_cdc.h
+++ b/sys/dev/usb/usb_cdc.h
@@ -59,14 +59,14 @@
#define UDESCSUB_CDC_ENF 15
#define UDESCSUB_CDC_ANF 16
-struct usb2_cdc_header_descriptor {
+struct usb_cdc_header_descriptor {
uByte bLength;
uByte bDescriptorType;
uByte bDescriptorSubtype;
uWord bcdCDC;
} __packed;
-struct usb2_cdc_cm_descriptor {
+struct usb_cdc_cm_descriptor {
uByte bLength;
uByte bDescriptorType;
uByte bDescriptorSubtype;
@@ -76,7 +76,7 @@ struct usb2_cdc_cm_descriptor {
uByte bDataInterface;
} __packed;
-struct usb2_cdc_acm_descriptor {
+struct usb_cdc_acm_descriptor {
uByte bLength;
uByte bDescriptorType;
uByte bDescriptorSubtype;
@@ -87,7 +87,7 @@ struct usb2_cdc_acm_descriptor {
#define USB_CDC_ACM_HAS_NETWORK_CONN 0x08
} __packed;
-struct usb2_cdc_union_descriptor {
+struct usb_cdc_union_descriptor {
uByte bLength;
uByte bDescriptorType;
uByte bDescriptorSubtype;
@@ -95,7 +95,7 @@ struct usb2_cdc_union_descriptor {
uByte bSlaveInterface[1];
} __packed;
-struct usb2_cdc_ethernet_descriptor {
+struct usb_cdc_ethernet_descriptor {
uByte bLength;
uByte bDescriptorType;
uByte bDescriptorSubtype;
@@ -122,7 +122,7 @@ struct usb2_cdc_ethernet_descriptor {
#define UCDC_BREAK_ON 0xffff
#define UCDC_BREAK_OFF 0x0000
-struct usb2_cdc_abstract_state {
+struct usb_cdc_abstract_state {
uWord wState;
#define UCDC_IDLE_SETTING 0x0001
#define UCDC_DATA_MULTIPLEXED 0x0002
@@ -130,7 +130,7 @@ struct usb2_cdc_abstract_state {
#define UCDC_ABSTRACT_STATE_LENGTH 2
-struct usb2_cdc_line_state {
+struct usb_cdc_line_state {
uDWord dwDTERate;
uByte bCharFormat;
#define UCDC_STOP_BIT_1 0
@@ -147,7 +147,7 @@ struct usb2_cdc_line_state {
#define UCDC_LINE_STATE_LENGTH 7
-struct usb2_cdc_notification {
+struct usb_cdc_notification {
uByte bmRequestType;
#define UCDC_NOTIFICATION 0xa1
uByte bNotification;
OpenPOWER on IntegriCloud