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
This commit is contained in:
parent
3cec9c8433
commit
b140d56f63
|
@ -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 ");
|
||||
|
|
Loading…
Reference in New Issue