[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/4] Fix inteface definition for ohci
From: |
oliver . henshaw |
Subject: |
[PATCH 2/4] Fix inteface definition for ohci |
Date: |
Mon, 08 Jun 2009 18:45:17 +0100 |
User-agent: |
quilt/0.47-1 |
Changelog:
* bus/usb/ohci.c: Set interf with correct field.
---
bus/usb/ohci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: grub2/bus/usb/ohci.c
===================================================================
--- grub2.orig/bus/usb/ohci.c
+++ grub2/bus/usb/ohci.c
@@ -128,7 +128,7 @@ grub_ohci_pci_iter (int bus, int device,
addr = grub_pci_make_address (bus, device, func, 2);
class = grub_pci_read (addr);
- interf = class & 0xFF;
+ interf = (class >> 8) & 0xFF;
subclass = (class >> 16) & 0xFF;
class >>= 24;