2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com>

* bus/usb/ohci.c: Set interf with correct field.
This commit is contained in:
proski committed 2009-06-08 20:10:27 +00:00
1 parent 69da887788
commit c0947beba6
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com>
* bus/usb/ohci.c: Set interf with correct field.
* bus/usb/uhci.c: Remove unneeded doubled lines.
* bus/usb/ohci.c: Likewise. Change interf to grub_uint32_t.
Remove whitespace inside comment.
+1 -1
View File
@@ -128,7 +128,7 @@ grub_ohci_pci_iter (int bus, int device, int func,
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;