Add yet another ATA133 Promise chip.
This commit is contained in:
parent
57d49eaa35
commit
a12b615d49
@ -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)) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user