Better estimate the maximum USB transfer size.
This commit is contained in:
parent
2f1071d57e
commit
5dd6f58789
6 changed files with 85 additions and 44 deletions
|
@ -823,7 +823,9 @@ static struct grub_usb_controller_dev usb_controller =
|
|||
.cancel_transfer = grub_uhci_cancel_transfer,
|
||||
.hubports = grub_uhci_hubports,
|
||||
.portstatus = grub_uhci_portstatus,
|
||||
.detect_dev = grub_uhci_detect_dev
|
||||
.detect_dev = grub_uhci_detect_dev,
|
||||
/* estimated max. count of TDs for one bulk transfer */
|
||||
.max_bulk_tds = N_TD * 3 / 4
|
||||
};
|
||||
|
||||
GRUB_MOD_INIT(uhci)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue