mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 23:32:39 +00:00
* grub-core/bus/usb/uhci.c (grub_uhci_detect_dev): Return
GRUB_USB_SPEED_NONE in case of failure and not the error code.
This commit is contained in:
1 parent
d1611f0163
commit
ed57e55702
2 files changed
+6
-2
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/bus/usb/uhci.c (grub_uhci_detect_dev): Return
|
||||||
|
GRUB_USB_SPEED_NONE in case of failure and not the error code.
|
||||||
|
|
||||||
2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/efiemu/i386/pc/cfgtables.c
|
* grub-core/efiemu/i386/pc/cfgtables.c
|
||||||
|
|||||||
@@ -749,8 +749,7 @@ grub_uhci_detect_dev (grub_usb_controller_t dev, int port, int *changed)
|
|||||||
else if (port == 1)
|
else if (port == 1)
|
||||||
reg = GRUB_UHCI_REG_PORTSC2;
|
reg = GRUB_UHCI_REG_PORTSC2;
|
||||||
else
|
else
|
||||||
return grub_error (GRUB_ERR_OUT_OF_RANGE,
|
return GRUB_USB_SPEED_NONE;
|
||||||
"UHCI Root Hub port does not exist");
|
|
||||||
|
|
||||||
status = grub_uhci_readreg16 (u, reg);
|
status = grub_uhci_readreg16 (u, reg);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user