diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2006-08-02 00:54:18 +0200 |
---|---|---|
committer | Bartlomiej Sieka <tur@semihalf.com> | 2006-08-02 00:54:18 +0200 |
commit | 7455af41d19d5e0194e23f3b06f1bf64e3430d62 (patch) | |
tree | f1547f3d33bac6b3c2a28b42d98305f5e67c28bf /include/usb.h | |
parent | f3e06df7e89a1b6ff6701d523b4beea6e3fa5159 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb.h b/include/usb.h index 39d7f23cc71..bf715540417 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)); |