Hi, On Saturday 28 July 2007, Sergei Shtylyov wrote: > Hello. > > Bartlomiej Zolnierkiewicz wrote: > > >>On Fri, 27 Jul 2007 02:22:27 +0200 > >>Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx> wrote: > > >>>* Convert {ide_hwif_t,ide_pci_device_t}->host_flag to be u16. > > >>>* Add IDE_HFLAG_POST_SET_MODE host to indicate the need to program the > >>> host for the transfer mode after programming the device. Set it in > >>> au1xxx-ide/cs5530/cs5535/pdc202xx_new/sc1200/via82cxxx host drivers. > > >>The CS5530 at least shouldn't care what order changes are done. I don't > > And neither CS5535. And Au1200 static bus controller shouldn't care about > the order too, so au1xxx-ide hardly needs that. > > Here's the datasheet, BTW: > > http://www.razamicroelectronics.com/documents/32798e_Au1200_db.pdf > > >>think the SC1200 does either but I don't have the docs to hand. > > It seems pretty much alike CS553x except it's accessed via PCI config. > space, not MSRs... Here's the datasheet: > > http://www.amd.com/files/connectivitysolutions/geode/32579B_sc1200_ds.pdf Thanks for links to specs. > I have a feeling that only pdc202xx_new and jmicron drivers actually need > this flag (and the latter one actually doesn't care as its methods are empty > anyway). Well, AMD/VIA chips enable UltraDMA mode by snooping Set Features > command (as the drivers tell them to do so), so the order seems important > unless that is changed. Since changing of order affects the way in which hardware is accessed I prefer to keep such changes out of this patch (which is just a cleanup). Could you please handle them in pre or post patch(es)? Bart - 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