diff options
author | Steven J. Magnani <steve@digidescorp.com> | 2005-09-21 13:51:12 +0000 |
---|---|---|
committer | Steven J. Magnani <steve@digidescorp.com> | 2005-09-21 13:51:12 +0000 |
commit | 3cec9c84339063aea115ec7f76fd5bef415dc7d8 (patch) | |
tree | f97e25016b89f1242d5797a92d78a296b7e2db4e /src/southbridge/intel | |
parent | b3d2d4d4412425bae14d810bfc4c10ae7d08043a (diff) | |
download | coreboot-3cec9c84339063aea115ec7f76fd5bef415dc7d8.tar.xz |
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
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r-- | src/southbridge/intel/i82801er/i82801er_ide.c | 2 |
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 "); |