> I've changed drivers/ata/pata_ali.c to change the mode back to compatibility > mode, but libata-sff.c is still trying to use the pci configuration BARs > to map the control registers. If the copy of the "PCI IDE Controller > Specification, Revision 1.0" [1] is to be belived, the values in the PCI BARs > should be ignored. The PCI code knows about this and fills in BAR0 to BAR3 correctly according to the host platform (defaulting to the usual PC values). We have to do that anyway to keep the PCI resource management straight. If you switch it in pata_ali that'll break, use a PCI quirk as I said before - switch it with a HEADER quirk for your platform. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html