Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Sa47O-0002YS-7D for mharc-grub-devel@gnu.org; Thu, 31 May 2012 08:04:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sa47L-0002YA-5Q for grub-devel@gnu.org; Thu, 31 May 2012 08:04:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sa47E-0001A7-Po for grub-devel@gnu.org; Thu, 31 May 2012 08:04:38 -0400 Received: from 37-46-169-123.customers.ownit.se ([37.46.169.123]:59502 helo=zoo.weinigel.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sa47E-00019q-Jp for grub-devel@gnu.org; Thu, 31 May 2012 08:04:32 -0400 Received: by zoo.weinigel.se (Postfix, from userid 500) id 7C9A6613AF; Thu, 31 May 2012 13:46:02 +0200 (CEST) From: Christer Weinigel To: grub-devel@gnu.org Subject: [PATCH] correct definition of GRUB_EHCI_MULT_ONE, TWO and THREE Message-Id: <20120531114602.7C9A6613AF@zoo.weinigel.se> Date: Thu, 31 May 2012 13:46:02 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 37.46.169.123 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2012 12:04:40 -0000 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. diff --git a/grub-core/bus/usb/ehci.c b/grub-core/bus/usb/ehci.c index 5e3a723..2e5d799 100644 --- a/grub-core/bus/usb/ehci.c +++ b/grub-core/bus/usb/ehci.c @@ -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) }; -- 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.