public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Patch for Promise PDC20267 FastTrack100 Controller
@ 2001-06-01  5:08 Konstantin Volckov
  0 siblings, 0 replies; only message in thread
From: Konstantin Volckov @ 2001-06-01  5:08 UTC (permalink / raw)
  To: Andre Hedrick; +Cc: Linux Kernel Mailing List

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

Hi!

I've found that 2.4.5-ac kernels can't detect hdd's connected to
FastTrack100 Promise controller, but Ultra100 works fine. Here is the
patch, that solve this problem.

Controllers tested - FastTrack100, Ultra100. Kernel - 2.4.5-ac4.

-- 
Good luck,
Konstantin

[-- Attachment #2: linux-2.4.4-ac10-promise.patch --]
[-- Type: application/octet-stream, Size: 482 bytes --]

--- linux/drivers/ide/ide-pci.c_old	Thu May 17 22:16:15 2001
+++ linux/drivers/ide/ide-pci.c	Thu May 17 22:10:43 2001
@@ -655,6 +655,9 @@
 		if ((IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20265)) && (secondpdc++==1) && (port==1)  ) 
 			goto controller_ok;
 			
+		if (IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20267)) 
+			goto controller_ok;
+			
 		if (e->reg && (pci_read_config_byte(dev, e->reg, &tmp) || (tmp & e->mask) != e->val))
 			continue;	/* port not enabled */
 controller_ok:			

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

only message in thread, other threads:[~2001-06-01  5:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-01  5:08 Patch for Promise PDC20267 FastTrack100 Controller Konstantin Volckov

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