Patchwork USB: add bDescriptor_Types

login
register
about
Submitter Daniel Mack
Date 2009-10-05 02:44:44
Message ID <1254710688-9069-3-git-send-email-daniel@caiaq.de>
Download mbox | patch
Permalink /patch/338/
State Not Applicable
Headers show

Comments

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

Patch

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