Re: MMIO space (was Re: New kernel/resource.c)

Richard Henderson (rth@twiddle.net)
Tue, 3 Aug 1999 22:37:06 -0700


On Tue, Aug 03, 1999 at 03:55:50PM -0400, Jeff Garzik wrote:
> it would be much cleaner if that changed to
> virt = ioremap (phys, size, BUS_PCI)

You only get much cleaner if you change to

virt = pci_ioremap (pci_dev, bus_addr, size);

as I need to know _which_ PCI bus you want to map from.

r~

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/