Patch for Promise FastTrack 100 Tx2 (aka PDC20268R)

Zygo Blaxell (zblaxell@feedme.hungrycats.org)
Wed, 29 Aug 2001 07:54:33 -0400


--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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. =20

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-58=
6-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/pdc=
202xx.c Tue Aug 28 23:31:21 2001
@@ -133,6 +133,7 @@
=20
switch(dev->device) {
case PCI_DEVICE_ID_PROMISE_20268:
+ case PCI_DEVICE_ID_PROMISE_20268R:
p +=3D sprintf(p, "\n PDC20268 TX2 Chips=
et.\n");
invalid_data_set =3D 1;
break;

--=20
Zygo Blaxell (Laptop) <zblaxell@feedme.hungrycats.org>
GPG =3D D13D 6651 F446 9787 600B AD1E CCF3 6F93 2823 44AD

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7jNf5zPNvkygjRK0RAjZRAJ44YTSxooZ6WeQtS3PB7CiZqldw4QCfbI/c
pCJUk1Vdvy2fSC/0uUdJlig=
=BL9J
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/