From c584bd8f63eba2e93ac4d38ed857cf819973890d Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 19 Jul 2002 22:14:54 +0000 Subject: [PATCH] Add PCI ID for the ICH4 ATA100 controller. Sponsored by: The Weather Channel --- sys/dev/ata/ata-dma.c | 1 + sys/dev/ata/ata-pci.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c index b0f9cf8ea41..4cbf6d2f892 100644 --- a/sys/dev/ata/ata-dma.c +++ b/sys/dev/ata/ata-dma.c @@ -216,6 +216,7 @@ ata_dmainit(struct ata_device *atadev, int apiomode, int wdmamode, int udmamode) #endif switch (chiptype) { + case 0x24cb8086: /* Intel ICH4 */ case 0x248a8086: /* Intel ICH3 mobile */ case 0x248b8086: /* Intel ICH3 */ case 0x244a8086: /* Intel ICH2 mobile */ diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c index d56b00587b3..bd9852909c8 100644 --- a/sys/dev/ata/ata-pci.c +++ b/sys/dev/ata/ata-pci.c @@ -146,6 +146,9 @@ ata_pci_match(device_t dev) case 0x248b8086: return "Intel ICH3 ATA100 controller"; + case 0x24cb8086: + return "Intel ICH4 ATA100 controller"; + case 0x522910b9: if (pci_get_revid(dev) >= 0xc4) return "AcerLabs Aladdin ATA100 controller";