mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
Add rudimentary handling of alternate settings of USB interfaces - to fix
problems with some USB storage devices. Some code readability improvements.
This commit is contained in:
parent
f3e06df7e8
commit
7455af41d1
4 changed files with 58 additions and 33 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue