Messages in this thread |  | | From | Benjamin Herrenschmidt <> | Subject | Re: Going beyond 256 PCI buses | Date | Fri, 15 Jun 2001 01:35:53 +0200 |
| |
>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.
- 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/
|  |