summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801gx/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/i82801gx/usb.c')
-rw-r--r--src/southbridge/intel/i82801gx/usb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/southbridge/intel/i82801gx/usb.c b/src/southbridge/intel/i82801gx/usb.c
index d4b559a37b..d8c55e0981 100644
--- a/src/southbridge/intel/i82801gx/usb.c
+++ b/src/southbridge/intel/i82801gx/usb.c
@@ -10,14 +10,12 @@
static void usb_init(struct device *dev)
{
- u32 reg32;
u8 reg8;
/* USB Specification says the device must be Bus Master */
printk(BIOS_DEBUG, "UHCI: Setting up controller.. ");
- reg32 = pci_read_config32(dev, PCI_COMMAND);
- pci_write_config32(dev, PCI_COMMAND, reg32 | PCI_COMMAND_MASTER);
+ pci_or_config16(dev, PCI_COMMAND, PCI_COMMAND_MASTER);
// Erratum
pci_write_config8(dev, 0xca, 0x00);