summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801gx/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/i82801gx/ide.c')
-rw-r--r--src/southbridge/intel/i82801gx/ide.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801gx/ide.c b/src/southbridge/intel/i82801gx/ide.c
index b6b30efea9..cc3e7409d4 100644
--- a/src/southbridge/intel/i82801gx/ide.c
+++ b/src/southbridge/intel/i82801gx/ide.c
@@ -30,8 +30,7 @@ static void ide_init(struct device *dev)
enable_secondary = config->ide_enable_secondary;
}
- reg32 = pci_read_config32(dev, PCI_COMMAND);
- pci_write_config32(dev, PCI_COMMAND, reg32 | PCI_COMMAND_IO | PCI_COMMAND_MASTER);
+ pci_or_config16(dev, PCI_COMMAND, PCI_COMMAND_IO | PCI_COMMAND_MASTER);
/* Native Capable, but not enabled. */
pci_write_config8(dev, 0x09, 0x8a);