diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-28 17:36:36 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-28 17:36:36 +0000 |
commit | af6fb4f3d2a2950c2a2c95bc3148ee16510149de (patch) | |
tree | 3036722a60a7a9ddd5122172e56736f3e128664b /sys/dev/usb/usb_parse.h | |
parent | d691011026fb63bdede5854aaa7547c7c019cd38 (diff) | |
download | FreeBSD-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_parse.h')
-rw-r--r-- | sys/dev/usb/usb_parse.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/usb/usb_parse.h b/sys/dev/usb/usb_parse.h index b836b57..4f36618 100644 --- a/sys/dev/usb/usb_parse.h +++ b/sys/dev/usb/usb_parse.h @@ -29,8 +29,8 @@ /* structures */ -struct usb2_idesc_parse_state { - struct usb2_descriptor *desc; +struct usb_idesc_parse_state { + struct usb_descriptor *desc; uint8_t iface_index; /* current interface index */ uint8_t iface_no_last; uint8_t iface_index_alt; /* current alternate setting */ @@ -38,17 +38,17 @@ struct usb2_idesc_parse_state { /* prototypes */ -struct usb2_descriptor *usb2_desc_foreach(struct usb2_config_descriptor *cd, - struct usb2_descriptor *desc); -struct usb2_interface_descriptor *usb2_idesc_foreach( - struct usb2_config_descriptor *cd, - struct usb2_idesc_parse_state *ps); -struct usb2_endpoint_descriptor *usb2_edesc_foreach( - struct usb2_config_descriptor *cd, - struct usb2_endpoint_descriptor *ped); -uint8_t usb2_get_no_descriptors(struct usb2_config_descriptor *cd, +struct usb_descriptor *usb2_desc_foreach(struct usb_config_descriptor *cd, + struct usb_descriptor *desc); +struct usb_interface_descriptor *usb2_idesc_foreach( + struct usb_config_descriptor *cd, + struct usb_idesc_parse_state *ps); +struct usb_endpoint_descriptor *usb2_edesc_foreach( + struct usb_config_descriptor *cd, + struct usb_endpoint_descriptor *ped); +uint8_t usb2_get_no_descriptors(struct usb_config_descriptor *cd, uint8_t type); -uint8_t usb2_get_no_alts(struct usb2_config_descriptor *cd, - struct usb2_interface_descriptor *id); +uint8_t usb2_get_no_alts(struct usb_config_descriptor *cd, + struct usb_interface_descriptor *id); #endif /* _USB2_PARSE_H_ */ |