summaryrefslogtreecommitdiff
path: root/include/usb.h
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2006-08-02 00:54:18 +0200
committerBartlomiej Sieka <tur@semihalf.com>2006-08-02 00:54:18 +0200
commit7455af41d19d5e0194e23f3b06f1bf64e3430d62 (patch)
treef1547f3d33bac6b3c2a28b42d98305f5e67c28bf /include/usb.h
parentf3e06df7e89a1b6ff6701d523b4beea6e3fa5159 (diff)
downloadu-boot-imx-7455af41d19d5e0194e23f3b06f1bf64e3430d62.zip
u-boot-imx-7455af41d19d5e0194e23f3b06f1bf64e3430d62.tar.gz
u-boot-imx-7455af41d19d5e0194e23f3b06f1bf64e3430d62.tar.bz2
Add rudimentary handling of alternate settings of USB interfaces - to fix
problems with some USB storage devices. Some code readability improvements.
Diffstat (limited to 'include/usb.h')
-rw-r--r--include/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb.h b/include/usb.h
index 39d7f23..bf71554 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -108,6 +108,7 @@ struct usb_interface_descriptor {
unsigned char iInterface;
unsigned char no_of_ep;
+ unsigned char num_altsetting;
unsigned char act_altsetting;
struct usb_endpoint_descriptor ep_desc[USB_MAXENDPOINTS];
} __attribute__ ((packed));