Messages in this thread Patch in this message | | | Date | Wed, 29 Aug 2001 07:54:33 -0400 | From | Zygo Blaxell <> | Subject | Patch for Promise FastTrack 100 Tx2 (aka PDC20268R) |
| |
The code in 2.4.9-ac3 for detecting a PDC20268 or PDC20268R doesn't enable BM-DMA for the PDC20268R. The fix below seems to work for me.
There is a note in the comments to the effect that the Promise FastTrack 100 RAID card has a different PCI device ID just to prevent Linux from detecting it. Having seen both the UltraATA-100 and FastTrack-100 cards, I don't believe this is the case.
Unlike certain previous Promise ATA and ATA-RAID controllers, there are physical differences between the RAID and non-RAID ATA-100 cards. The UltraATA-100 card is a normal 33MHz PCI card, while the FastTrack 100 is a 66MHz PCI card.
Then again, last time I checked, 66MHz cards _look_ just like 33MHz cards. Hmmm...
diff -ur linux/drivers/ide/ide-pci.c 586-smp/kernel-source-2.4.9-ac3-zb-586-smp-zb2001082823/drivers/ide/ide-pci.c --- linux/drivers/ide/ide-pci.c Mon Aug 13 17:56:19 2001 +++ 586-smp/kernel-source-2.4.9-ac3-zb-586-smp-zb2001082823/drivers/ide/ide-pci.c Tue Aug 28 23:31:08 2001 @@ -767,6 +767,7 @@ IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20265) || IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20267) || IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20268) || + IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20268R) || IDE_PCI_DEVID_EQ(d->devid, DEVID_AEC6210) || IDE_PCI_DEVID_EQ(d->devid, DEVID_AEC6260) || IDE_PCI_DEVID_EQ(d->devid, DEVID_AEC6260R) || diff -ur linux/drivers/ide/pdc202xx.c 586-smp/kernel-source-2.4.9-ac3-zb-586-smp-zb2001082823/drivers/ide/pdc202xx.c --- linux/drivers/ide/pdc202xx.c Mon Aug 13 17:56:19 2001 +++ 586-smp/kernel-source-2.4.9-ac3-zb-586-smp-zb2001082823/drivers/ide/pdc202xx.c Tue Aug 28 23:31:21 2001 @@ -133,6 +133,7 @@ switch(dev->device) { case PCI_DEVICE_ID_PROMISE_20268: + case PCI_DEVICE_ID_PROMISE_20268R: p += sprintf(p, "\n PDC20268 TX2 Chipset.\n"); invalid_data_set = 1; break; -- Zygo Blaxell (Laptop) <zblaxell@feedme.hungrycats.org> GPG = D13D 6651 F446 9787 600B AD1E CCF3 6F93 2823 44AD [unhandled content-type:application/pgp-signature] | |