Add yet another ATA133 Promise chip.

This commit is contained in:
Søren Schmidt 2002-04-07 07:53:34 +00:00
parent 57d49eaa35
commit a12b615d49
2 changed files with 3 additions and 0 deletions

View File

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

@ -269,6 +269,7 @@ ata_pci_match(device_t dev)
return "Promise TX2 ATA100 controller";
case 0x4d69105a:
case 0x5275105a:
return "Promise TX2 ATA133 controller";
case 0x00041103:
@ -570,6 +571,7 @@ ata_pci_intr(struct ata_channel *ch)
case 0x4d68105a: /* Promise TX2 ATA100 */
case 0x6268105a: /* Promise TX2 ATA100 */
case 0x4d69105a: /* Promise TX2 ATA133 */
case 0x5275105a: /* Promise TX2 ATA133 */
ATA_OUTB(ch->r_bmio, ATA_BMDEVSPEC_0, 0x0b);
if (!(ATA_INB(ch->r_bmio, ATA_BMDEVSPEC_1) & 0x20))
return 1;