Hello.
Rodolfo Giometti wrote:
This is not quite correct. The UARTs take up 1 MB of memory each.
The patch:
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 8365d5b..3473e7a 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -1935,8 +1935,10 @@ static int serial8250_request_std_resour
int ret = 0;
switch (up->port.iotype) {
- case UPIO_MEM:
case UPIO_AU:
+ size = 0x100000;
+ /* fall thru */
+ case UPIO_MEM:
if (!up->port.mapbase)
break;
I'll merge this patch with my previous one ASAP...
Better just use my patch. There's no sense in calling ioremp() on UART
addresses.
Ciao,
Rodolfo
WBR, Sergei