From 3cec9c84339063aea115ec7f76fd5bef415dc7d8 Mon Sep 17 00:00:00 2001 From: "Steven J. Magnani" Date: Wed, 21 Sep 2005 13:51:12 +0000 Subject: [PATCH] Bug fix: enable secondary IDE only if enable_b is set. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2043 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/intel/i82801er/i82801er_ide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ");