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

* bus/usb/uhci.c: Remove unneeded doubled lines.
	* bus/usb/ohci.c: Likewise. Change interf to grub_uint32_t.
	Remove whitespace inside comment.
This commit is contained in:
proski 2009-06-08 20:08:59 +00:00
parent 9e172e3066
commit 69da887788
3 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com>
* bus/usb/uhci.c: Remove unneeded doubled lines.
* bus/usb/ohci.c: Likewise. Change interf to grub_uint32_t.
Remove whitespace inside comment.
2009-06-08 Robert Millan <rmh.grub@aybabtu.com>
* loader/i386/linux.c (grub_cmd_linux): When processing `vga=', use

View File

@ -118,15 +118,13 @@ grub_ohci_pci_iter (int bus, int device, int func,
{
grub_uint32_t class;
grub_uint32_t subclass;
int interf;
grub_uint32_t interf;
grub_uint32_t base;
grub_pci_address_t addr;
struct grub_ohci *o;
grub_uint32_t revision;
grub_uint32_t frame_interval;
addr = grub_pci_make_address (bus, device, func, 2);
class = grub_pci_read (addr);
addr = grub_pci_make_address (bus, device, func, 2);
class = grub_pci_read (addr);
@ -171,8 +169,7 @@ grub_ohci_pci_iter (int bus, int device, int func,
frame_interval = grub_ohci_readreg32 (o, GRUB_OHCI_REG_FRAME_INTERVAL);
/* Suspend the OHCI by issuing a reset. */
grub_ohci_writereg32 (o, GRUB_OHCI_REG_CMDSTATUS, 1); /* XXX: Magic.
*/
grub_ohci_writereg32 (o, GRUB_OHCI_REG_CMDSTATUS, 1); /* XXX: Magic. */
grub_millisleep (1);
grub_dprintf ("ohci", "OHCI reset\n");

View File

@ -149,8 +149,6 @@ grub_uhci_pci_iter (int bus, int device, int func,
struct grub_uhci *u;
int i;
addr = grub_pci_make_address (bus, device, func, 2);
class = grub_pci_read (addr);
addr = grub_pci_make_address (bus, device, func, 2);
class = grub_pci_read (addr);