mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Patch for Promise FastTrack 100 Tx2 (aka PDC20268R)
@ 2001-08-29 11:54 Zygo Blaxell
  0 siblings, 0 replies; only message in thread
From: Zygo Blaxell @ 2001-08-29 11:54 UTC (permalink / raw)
  To: andre, alan, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2062 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-29 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-29 11:54 Patch for Promise FastTrack 100 Tx2 (aka PDC20268R) Zygo Blaxell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®