summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/i82801er/i82801er_ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801er/i82801er_ide.c b/src/southbridge/intel/i82801er/i82801er_ide.c
index b33a0b0f09..53b0e564a9 100644
--- a/src/southbridge/intel/i82801er/i82801er_ide.c
+++ b/src/southbridge/intel/i82801er/i82801er_ide.c
@@ -26,7 +26,7 @@ static void ide_init(struct device *dev)
word = pci_read_config16(dev, 0x42);
word &= ~((1 << 15));
- if (enable_a) {
+ if (enable_b) {
/* Enable secondary ide interface */
word |= (1<<15);
printk_debug("IDE1 ");