Skip to contentSkip to conversation

Patch for Promise PDC20267 FastTrack100 Controller

PATCH Konstantin Volckov 1 participant 1 message Jun 1, 2001

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Good luck,
Konstantin
drivers/ide/ide-pci.c renamed from drivers/ide/ide-pci.c_old +3 -0
@@ -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: