diff options
Diffstat (limited to 'include/usbdevice.h')
-rw-r--r-- | include/usbdevice.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/usbdevice.h b/include/usbdevice.h index e59f5587eea..d173c1c4e37 100644 --- a/include/usbdevice.h +++ b/include/usbdevice.h @@ -19,10 +19,8 @@ #include "usbdescriptors.h" - #define MAX_URBS_QUEUED 5 - #if 1 #define usberr(fmt,args...) serial_printf("ERROR: %s(), %d: "fmt"\n",__FUNCTION__,__LINE__,##args) #else @@ -269,14 +267,12 @@ struct usb_bus_instance; #define USB_REQ_SET_IDLE 0x0A #define USB_REQ_SET_PROTOCOL 0x0B - /* * USB Spec Release number */ #define USB_BCD_VERSION 0x0110 - /* * Device Requests (c.f Table 9-2) */ @@ -328,7 +324,6 @@ struct usb_bus_instance; #define USB_DEVICE_REMOTE_WAKEUP 0x01 #define USB_TEST_MODE 0x02 - /* USB Requests * */ @@ -341,7 +336,6 @@ struct usb_device_request { u16 wLength; } __attribute__ ((packed)); - /* USB Status * */ @@ -425,7 +419,6 @@ typedef enum usb_device_event { } usb_device_event_t; - typedef struct urb_link { struct urb_link *next; struct urb_link *prev; @@ -519,7 +512,6 @@ struct usb_configuration_instance { struct usb_interface_instance *interface_instance_array; }; - /* USB Device Instance * * For each physical bus interface we create a logical device structure. This |