Messages in this thread | | | Subject | Re: [RFC] I/O Access Abstractions | Date | Tue, 03 Jul 2001 10:00:36 +0100 | From | David Howells <> |
| |
> I also point out that using ioremap for PIO adds flexibility while > keeping most drivers relatively unchanged. Everyone uses a base address > anyway, so whether its obtained directly (address from PCI BAR) or > indirectly (via ioremap), you already store it and use it.
I see what you're getting at at last:-) I didn't quite pick up on the fact that you'd still have to go through readb/writeb and their ilk to access the code.
Of course, however, this still requires cookie decoding to be done in readb and writeb (even on the i386). So why not use resource struct?
David - 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/
| |