diff options
Diffstat (limited to 'drivers/ide/pci/piix.c')
-rw-r--r-- | drivers/ide/pci/piix.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c index edb37f3d558d..236d8fd4e72b 100644 --- a/drivers/ide/pci/piix.c +++ b/drivers/ide/pci/piix.c | |||
@@ -539,13 +539,19 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = { | |||
539 | /* 0 */ DECLARE_PIIX_DEV("PIIXa"), | 539 | /* 0 */ DECLARE_PIIX_DEV("PIIXa"), |
540 | /* 1 */ DECLARE_PIIX_DEV("PIIXb"), | 540 | /* 1 */ DECLARE_PIIX_DEV("PIIXb"), |
541 | 541 | ||
542 | { /* 2 */ | 542 | /* 2 */ |
543 | { /* | ||
544 | * MPIIX actually has only a single IDE channel mapped to | ||
545 | * the primary or secondary ports depending on the value | ||
546 | * of the bit 14 of the IDETIM register at offset 0x6c | ||
547 | */ | ||
543 | .name = "MPIIX", | 548 | .name = "MPIIX", |
544 | .init_hwif = init_hwif_piix, | 549 | .init_hwif = init_hwif_piix, |
545 | .channels = 2, | 550 | .channels = 2, |
546 | .autodma = NODMA, | 551 | .autodma = NODMA, |
547 | .enablebits = {{0x6D,0x80,0x80}, {0x6F,0x80,0x80}}, | 552 | .enablebits = {{0x6d,0xc0,0x80}, {0x6d,0xc0,0xc0}}, |
548 | .bootable = ON_BOARD, | 553 | .bootable = ON_BOARD, |
554 | .flags = IDEPCI_FLAG_ISA_PORTS | ||
549 | }, | 555 | }, |
550 | 556 | ||
551 | /* 3 */ DECLARE_PIIX_DEV("PIIX3"), | 557 | /* 3 */ DECLARE_PIIX_DEV("PIIX3"), |