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

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

View file

@ -1,5 +1,7 @@
2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com> 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/uhci.c: Remove unneeded doubled lines.
* bus/usb/ohci.c: Likewise. Change interf to grub_uint32_t. * bus/usb/ohci.c: Likewise. Change interf to grub_uint32_t.
Remove whitespace inside comment. Remove whitespace inside comment.

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); addr = grub_pci_make_address (bus, device, func, 2);
class = grub_pci_read (addr); class = grub_pci_read (addr);
interf = class & 0xFF; interf = (class >> 8) & 0xFF;
subclass = (class >> 16) & 0xFF; subclass = (class >> 16) & 0xFF;
class >>= 24; class >>= 24;