Add yet another Promise PCI id.

This commit is contained in:
sos 2002-10-01 15:21:09 +00:00
parent 014597718b
commit 137f3cd2e3
3 changed files with 4 additions and 0 deletions

View File

@ -1041,6 +1041,7 @@ ata_dmainit(struct ata_device *atadev, int apiomode, int wdmamode, int udmamode)
case 0x4d69105a: /* Promise TX2 ATA133 controllers */
case 0x5275105a: /* Promise TX2 ATA133 controllers */
case 0x6269105a: /* Promise TX2 ATA133 controllers */
case 0x7275105a: /* 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)) {

View File

@ -279,6 +279,7 @@ ata_pci_match(device_t dev)
case 0x4d69105a:
case 0x5275105a:
case 0x6269105a:
case 0x7275105a:
return "Promise TX2 ATA133 controller";
case 0x00041103:
@ -593,6 +594,7 @@ ata_pci_intr(struct ata_channel *ch)
case 0x4d69105a: /* Promise TX2 ATA133 */
case 0x5275105a: /* Promise TX2 ATA133 */
case 0x6269105a: /* Promise TX2 ATA133 */
case 0x7275105a: /* Promise TX2 ATA133 */
ATA_OUTB(ch->r_bmio, ATA_BMDEVSPEC_0, 0x0b);
if (!(ATA_INB(ch->r_bmio, ATA_BMDEVSPEC_1) & 0x20))
return 1;

View File

@ -123,6 +123,7 @@ ata_raiddisk_attach(struct ad_softc *adp)
case 0x4d33105a: case 0x4d38105a: case 0x4d30105a:
case 0x0d30105a: case 0x4d68105a: case 0x6268105a:
case 0x4d69105a: case 0x5275105a: case 0x6269105a:
case 0x7275105a:
/* test RAID bit in PCI reg XXX */
return (ar_promise_read_conf(adp, ar_table, 0));