[coreboot] [PATCH] USB: add bDescriptor_Types

Daniel Mack daniel at caiaq.de
Mon Oct 5 04:44:44 CEST 2009


Signed-off-by: Daniel Mack <daniel at caiaq.de>
---
 include/usb/usb.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/include/usb/usb.h b/include/usb/usb.h
index c3c5f19..95cbdae 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -29,6 +29,7 @@
 
 #ifndef __USB_H
 #define __USB_H
+
 #include <libpayload.h>
 #include <pci.h>
 
@@ -54,6 +55,12 @@ typedef enum {
 } bRequest_Codes;
 
 typedef enum {
+	DEVICE = 1,
+	CONFIG = 2,
+	STRING = 3
+} bDescriptor_Types;
+
+typedef enum {
 	ENDPOINT_HALT = 0,
 	DEVICE_REMOTE_WAKEUP = 1,
 	TEST_MODE = 2
-- 
1.6.0.4





More information about the coreboot mailing list