Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices

From: Linus Torvalds
Date: Tue Sep 18 2007 - 17:43:22 EST




On Tue, 18 Sep 2007, Jeff Garzik wrote:
>
> Most new hardware is MMIO-only, making ioread32() only for drivers that care
> about legacy IO support, something that is being slowly phased out. e.g.
> legacy IDE, legacy 10/100 mbps ethernet NICs with the dual MMIO/PIO register
> spaces.

Hey, I think your patch was better than the one that just assumed that you
can do "read*/write*()" on an iomap(). If people really want it, I don't
care *that* much.

I just think that the arguments that have been raised so far have really
been very weak. There really is no "performance" argument without some
kinds of numbers.

I just think that proliferation of IO interfaces is a bad idea.

Linus
-
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/