Re: Going beyond 256 PCI buses

Benjamin Herrenschmidt
2001-06-14T23:36:37Z

>Add whatever else you might be interested that things tend to
>inb/outb.
>
>And if your concern is having multiple of these in your system, the
>only ones that make sense are floppy and serial and those are handled
>just fine by the asm/serial.h mechanism.
>
>This way of doing this allows 16550's, floppies, etc. to be handled on
>any bus whatsoever.
>
>I mean, besides this and VGA what is left and even matters?

Ok, I capitulate ;)

So basically, all is needed is to enforce those drivers to use
ioremap before doing their IOs.

I still think there's a potential difficulty with having the same
ioremap function for both MMIO and PIO as the address space may overlap.

For once, the x86 enters the dance as it has really separate bus spaces for
them. Other archs can work around this by using the physical address
where the PIO is mapped in the IO resources.

Ben.