Re: [PATCH 2/6] ide: move SFF I/O code to ide-io-sff.c

Alan Cox
2009-01-19T18:36:17Z

> > BTW if you moved to ioreadX you could get rid of almost all the readb/inb
> > special casing.
>
> And burden the driver code with function calls ISO in/out instructions, at
> least on x86. It's somewhat arguable move.

And exactly how do you think the IDE accessors in the file get called ?
It's already making function calls, without the benefit of inlining and
sharing common paths across architectures that can handle more than just
PIO v MMIO but also other addressing modes.