From b140d56f63a4e3d44a38ace759d2735f31f2bb68 Mon Sep 17 00:00:00 2001 From: "Steven J. Magnani" Date: Wed, 21 Sep 2005 13:51:30 +0000 Subject: Bug fix: enable secondary IDE only if enable_b is set. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2044 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/intel/i82801dbm/i82801dbm_ide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/southbridge/intel/i82801dbm') diff --git a/src/southbridge/intel/i82801dbm/i82801dbm_ide.c b/src/southbridge/intel/i82801dbm/i82801dbm_ide.c index 487fe9f911..6bf76d52b1 100644 --- a/src/southbridge/intel/i82801dbm/i82801dbm_ide.c +++ b/src/southbridge/intel/i82801dbm/i82801dbm_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 "); -- cgit v1.2.3