2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com>
* bus/usb/ohci.c: Set interf with correct field.
This commit is contained in:
parent
69da887788
commit
c0947beba6
2 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue