On Friday 27 July 2007, Alan Cox wrote:
> On Fri, 27 Jul 2007 02:22:27 +0200
> Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> 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
> think the SC1200 does either but I don't have the docs to hand.

Thanks, I will make a follow up patch to remove this flag from
cs5530 host driver (unless of course somebody beats me to it).

> For libata we went the post_set_mode way and then junked it. Instead
> there is a ->set_mode method which defaults to the usual order and
> actions. IT821x and similar override it to do very little, post_set_mode
> people call the default method and then do their stuff, and some of the
> crazier cases do stuff both before and after the default.
> 
> Much more flexible and it can do anything unlike flags for the cases you
> have.

I view this patch as an intermediate step in ->set_mode direction. 

Thanks,
Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to