From 123757f02012d5df56dd6422c3ab4460692b2dc4 Mon Sep 17 00:00:00 2001 From: sos Date: Tue, 23 Oct 2001 09:57:49 +0000 Subject: [PATCH] Add a bunch of new PCI ID's for Intel ATA chips. --- sys/dev/ata/ata-dma.c | 4 ++++ sys/dev/ata/ata-pci.c | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c index 72836c143f00..f6cdbbe8af3d 100644 --- a/sys/dev/ata/ata-dma.c +++ b/sys/dev/ata/ata-dma.c @@ -112,6 +112,8 @@ ata_dmainit(struct ata_softc *scp, int device, #endif switch (scp->chiptype) { + case 0x248a8086: /* Intel ICH3 mobile */ + case 0x248b8086: /* Intel ICH3 */ case 0x244a8086: /* Intel ICH2 mobile */ case 0x244b8086: /* Intel ICH2 */ if (udmamode >= 5) { @@ -144,6 +146,7 @@ ata_dmainit(struct ata_softc *scp, int device, /* FALLTHROUGH */ case 0x24118086: /* Intel ICH */ + case 0x76018086: /* Intel ICH */ if (udmamode >= 4) { int32_t mask48, new48; int16_t word54; @@ -174,6 +177,7 @@ ata_dmainit(struct ata_softc *scp, int device, /* FALLTHROUGH */ case 0x71118086: /* Intel PIIX4 */ + case 0x84CA8086: /* Intel PIIX4 */ case 0x71998086: /* Intel PIIX4e */ case 0x24218086: /* Intel ICH0 */ if (udmamode >= 2) { diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c index b409bba0b7ae..4e12bc8df827 100644 --- a/sys/dev/ata/ata-pci.c +++ b/sys/dev/ata/ata-pci.c @@ -128,18 +128,24 @@ ata_pci_match(device_t dev) case 0x71118086: case 0x71998086: + case 0x84ca8086: return "Intel PIIX4 ATA33 controller"; case 0x24218086: return "Intel ICH0 ATA33 controller"; case 0x24118086: + case 0x76018086: return "Intel ICH ATA66 controller"; case 0x244a8086: case 0x244b8086: return "Intel ICH2 ATA100 controller"; + case 0x248a8086: + case 0x248b8086: + return "Intel ICH3 ATA100 controller"; + case 0x522910b9: if (pci_get_revid(dev) < 0x20) return "AcerLabs Aladdin ATA controller";