|
Lines 722-727
Link Here
|
| 722 |
case 0x4d33105a: /* Promise Ultra/FastTrak 33 controllers */ |
722 |
case 0x4d33105a: /* Promise Ultra/FastTrak 33 controllers */ |
| 723 |
case 0x4d38105a: /* Promise Ultra/FastTrak 66 controllers */ |
723 |
case 0x4d38105a: /* Promise Ultra/FastTrak 66 controllers */ |
| 724 |
case 0x4d30105a: /* Promise Ultra/FastTrak 100 controllers */ |
724 |
case 0x4d30105a: /* Promise Ultra/FastTrak 100 controllers */ |
|
|
725 |
case 0x4d68105a: /* Promise Ultra100 TX2 */ |
| 725 |
case 0x0d30105a: /* Promise OEM ATA100 controllers */ |
726 |
case 0x0d30105a: /* Promise OEM ATA100 controllers */ |
| 726 |
/* the Promise can only do DMA on ATA disks not on ATAPI devices */ |
727 |
/* the Promise can only do DMA on ATA disks not on ATAPI devices */ |
| 727 |
if ((device == ATA_MASTER && scp->devices & ATA_ATAPI_MASTER) || |
728 |
if ((device == ATA_MASTER && scp->devices & ATA_ATAPI_MASTER) || |
|
Lines 729-735
Link Here
|
| 729 |
break; |
730 |
break; |
| 730 |
|
731 |
|
| 731 |
if (udmamode >= 5 && |
732 |
if (udmamode >= 5 && |
| 732 |
(scp->chiptype == 0x4d30105a || scp->chiptype == 0x0d30105a) && |
733 |
(scp->chiptype == 0x4d30105a || scp->chiptype == 0x4d68105a || scp->chiptype == 0x0d30105a) && |
| 733 |
!(pci_read_config(parent, 0x50, 2)&(scp->channel ? 1<<11 : 1<<10))){ |
734 |
!(pci_read_config(parent, 0x50, 2)&(scp->channel ? 1<<11 : 1<<10))){ |
| 734 |
error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0, |
735 |
error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0, |
| 735 |
ATA_UDMA5, ATA_C_F_SETXFER, ATA_WAIT_READY); |
736 |
ATA_UDMA5, ATA_C_F_SETXFER, ATA_WAIT_READY); |
|
Lines 744-750
Link Here
|
| 744 |
} |
745 |
} |
| 745 |
} |
746 |
} |
| 746 |
if (udmamode >= 4 && (scp->chiptype == 0x4d38105a || |
747 |
if (udmamode >= 4 && (scp->chiptype == 0x4d38105a || |
| 747 |
scp->chiptype == 0x4d30105a || scp->chiptype == 0x0d30105a) && |
748 |
scp->chiptype == 0x4d30105a || scp->chiptype == 0x4d68105a || scp->chiptype == 0x0d30105a) && |
| 748 |
!(pci_read_config(parent, 0x50, 2)&(scp->channel ? 1<<11 : 1<<10))){ |
749 |
!(pci_read_config(parent, 0x50, 2)&(scp->channel ? 1<<11 : 1<<10))){ |
| 749 |
error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0, |
750 |
error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0, |
| 750 |
ATA_UDMA4, ATA_C_F_SETXFER, ATA_WAIT_READY); |
751 |
ATA_UDMA4, ATA_C_F_SETXFER, ATA_WAIT_READY); |
|
Lines 1040-1045
Link Here
|
| 1040 |
|
1041 |
|
| 1041 |
case 0x4d38105a: /* Promise Ultra/Fasttrak 66 */ |
1042 |
case 0x4d38105a: /* Promise Ultra/Fasttrak 66 */ |
| 1042 |
case 0x4d30105a: /* Promise Ultra/Fasttrak 100 */ |
1043 |
case 0x4d30105a: /* Promise Ultra/Fasttrak 100 */ |
|
|
1044 |
case 0x4d68105a: /* Promise Ultra100 TX2*/ |
| 1043 |
case 0x0d30105a: /* Promise OEM ATA 100 */ |
1045 |
case 0x0d30105a: /* Promise OEM ATA 100 */ |
| 1044 |
switch (mode) { |
1046 |
switch (mode) { |
| 1045 |
default: |
1047 |
default: |