From 5b93eb04a9c55bd0df7d807b9dc267b72db1f880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Thu, 11 Apr 2002 11:04:23 +0000 Subject: [PATCH] Add yet another chip ID for a Promise TX2 chip. --- sys/dev/ata/ata-dma.c | 1 + sys/dev/ata/ata-pci.c | 2 ++ sys/dev/ata/ata-raid.c | 1 + 3 files changed, 4 insertions(+) diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c index a8671a163894..1f64212d523b 100644 --- a/sys/dev/ata/ata-dma.c +++ b/sys/dev/ata/ata-dma.c @@ -970,6 +970,7 @@ via_82c586: case 0x4d69105a: /* Promise TX2 ATA133 controllers */ case 0x5275105a: /* Promise TX2 ATA133 controllers */ + case 0x6269105a: /* Promise TX2 ATA133 controllers */ ATA_OUTB(atadev->channel->r_bmio, ATA_BMDEVSPEC_0, 0x0b); if (udmamode >= 6 && !(ATA_INB(atadev->channel->r_bmio, ATA_BMDEVSPEC_1) & 0x04)) { diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c index 9e64eed07327..c19aded9b297 100644 --- a/sys/dev/ata/ata-pci.c +++ b/sys/dev/ata/ata-pci.c @@ -270,6 +270,7 @@ ata_pci_match(device_t dev) case 0x4d69105a: case 0x5275105a: + case 0x6269105a: return "Promise TX2 ATA133 controller"; case 0x00041103: @@ -572,6 +573,7 @@ ata_pci_intr(struct ata_channel *ch) case 0x6268105a: /* Promise TX2 ATA100 */ case 0x4d69105a: /* Promise TX2 ATA133 */ case 0x5275105a: /* Promise TX2 ATA133 */ + case 0x6269105a: /* Promise TX2 ATA133 */ ATA_OUTB(ch->r_bmio, ATA_BMDEVSPEC_0, 0x0b); if (!(ATA_INB(ch->r_bmio, ATA_BMDEVSPEC_1) & 0x20)) return 1; diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index 9159e426b34b..49d052248203 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -122,6 +122,7 @@ ata_raiddisk_attach(struct ad_softc *adp) switch(adp->device->channel->chiptype) { case 0x4d33105a: case 0x4d38105a: case 0x4d30105a: case 0x0d30105a: case 0x4d68105a: case 0x6268105a: + case 0x6269105a: /* test RAID bit in PCI reg XXX */ return (ar_promise_read_conf(adp, ar_table, 0));