Add a bunch of new PCI ID's for Intel ATA chips.

This commit is contained in:
sos 2001-10-23 09:57:49 +00:00
parent df2cb205e6
commit 123757f020
2 changed files with 10 additions and 0 deletions

View File

@ -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) {

View File

@ -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";