Alan, One problem I still do not understand, if I return PATA_UNK for cable detection result, could the driver finally set the disk to UDMA5 mode if I plug in 80 wire disk? Thanks, Alek On Sun, 27 Apr 2008 09:34:34 +0100 Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote: > > > PATA_80 means "controller *knows* we are 80 wire". PATA_UNK means > > > "controller can't do detect." > > > > I need to force SCH to use PATA 80 pins to enable UDMA5, just like the way ich_laptop force > > to use 40 pins. > > What if I plug in a non 80 wire device ? > > > hmmm... for non-sch chipsets, there is no impact, this will only affect sch. You mean > > I should create a ata_sch.c file instead of patching ata_piix.c ? > > No an sch subtype in the driver just as we have types for ich/piix etc. > -- 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