diff options
author | Steven J. Magnani <steve@digidescorp.com> | 2005-09-21 13:51:30 +0000 |
---|---|---|
committer | Steven J. Magnani <steve@digidescorp.com> | 2005-09-21 13:51:30 +0000 |
commit | b140d56f63a4e3d44a38ace759d2735f31f2bb68 (patch) | |
tree | 4d600b8023aca06fffcaa444ad64530fc06ab397 | |
parent | 3cec9c84339063aea115ec7f76fd5bef415dc7d8 (diff) |
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
-rw-r--r-- | src/southbridge/intel/i82801dbm/i82801dbm_ide.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 "); |