Skip to contentSkip to conversation

correct definition of GRUB_EHCI_MULT_ONE, TWO and THREE

PATCH New Christer Weinigel 1 participant 1 message May 31, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 correct definition of GRUB_EHCI_MULT_ONE, TWO and THREE

I might as well submit this "obviously correct" patch also and save the big EHCI patch for later. This patch was made against the latest version in the trunk on bzr.savannah.gnu.org.

/Christer

GRUB_EHCI_MULT_ONE, TWO and THREE should be 1, 2 and 3 but were all zero. Use the correct values instead.

grub-core/bus/usb/ehci.c +3 -3
index 5e3a723..2e5d799 100644
@@ -209,9 +209,9 @@ enum
 {
   GRUB_EHCI_MULT_MASK = (3 << 30),
   GRUB_EHCI_MULT_RESERVED = (0 << 30),
-  GRUB_EHCI_MULT_ONE = (0 << 30),
-  GRUB_EHCI_MULT_TWO = (0 << 30),
-  GRUB_EHCI_MULT_THREE = (0 << 30),
+  GRUB_EHCI_MULT_ONE = (1 << 30),
+  GRUB_EHCI_MULT_TWO = (2 << 30),
+  GRUB_EHCI_MULT_THREE = (3 << 30),
   GRUB_EHCI_DEVPORT_MASK = (0x7f << 23),
   GRUB_EHCI_HUBADDR_MASK = (0x7f << 16)
 };
Signature · 4 lines
Have laptop, will travel.  I'm a consultant looking for interesting
jobs anywhere in the world.  I'm an experienced software engineer with
a solid understanding of hardware.  Specialities: Linux, device
drivers and embedded systems in general.  Find me at www.weinigel.se.