Add yet another chip ID for a Promise TX2 chip.
This commit is contained in:
parent
c573632aed
commit
5b93eb04a9
@ -970,6 +970,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 */
|
||||
ATA_OUTB(atadev->channel->r_bmio, ATA_BMDEVSPEC_0, 0x0b);
|
||||
if (udmamode >= 6 &&
|
||||
!(ATA_INB(atadev->channel->r_bmio, ATA_BMDEVSPEC_1) & 0x04)) {
|
||||
|
@ -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;
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user