GRUB_USB_SPEED_NONE in case of failure and not the error code.
+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>
* grub-core/efiemu/i386/pc/cfgtables.c
else if (port == 1)
reg = GRUB_UHCI_REG_PORTSC2;
else
- return grub_error (GRUB_ERR_OUT_OF_RANGE,
- "UHCI Root Hub port does not exist");
+ return GRUB_USB_SPEED_NONE;
status = grub_uhci_readreg16 (u, reg);