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

From: Alan Cox
Date: Mon Jan 19 2009 - 13:36:18 EST


> > 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/