On Mon, 1 Sep 2014, David Gwynne wrote:
> > Yes, that seems to be what happens. But if every adapter needs to support 
> > transfers of MAXBSIZE == MAXPHYS anyway, there would be no need for the 
> > adapter to be able to override the default minphys function with its own. 
> > And adapters that only support smaller transfers would need to have logic 
> > in their driver to be able to split the transfer into smaller chunks.
> > 
> > I think it makes more sense to have that logic in one place to be used by 
> > all drivers.
> 
> this has blown my mind. how do the stupid ata cf card things that only 
> support single sector IO work?

It seems _wdc_ata_bio_start in ata_wdc.c does the splitting in this case.

Reply via email to