Messages in this thread | | | Date | Thu, 29 Aug 2002 11:17:44 +0200 | From | Richard Zidlicky <> | Subject | Re: readsw/writesw readsl/writesl |
| |
On Wed, Aug 28, 2002 at 06:17:01PM +0200, Benjamin Herrenschmidt wrote:
> Another possibility (that looks saner to me) would be to define that > the IO macros take all a parameter which represents the bus (or rather > the device pointer in the new driver model). Most archs would just > ignore that macro parameter and so have exactly equivalent code as > we have today, but that let archs that feel they need it to actually > use that to go pick the proper access methods for that device.
that would certainly solve all problems.
> In all cases, though, I would keep the distinction between {read,write}* > and {in,out}* as there are PCI drivers that will need to mix them.
sure, it makes a difference even on m68k ISA buses.
Richard - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |