]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Merge with mainline: Add back omap 8250 hacks
authorTony Lindgren <tony@atomide.com>
Mon, 23 Oct 2006 19:55:52 +0000 (22:55 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 23 Oct 2006 19:55:52 +0000 (22:55 +0300)
Add back omap 8250 hacks

drivers/serial/8250.c

index e34bd03cfce738c4d82ff34aae9718af1e53332d..f265cd63e14a36f2a4ebd339010d1932f731eae3 100644 (file)
@@ -1383,7 +1383,11 @@ static irqreturn_t serial8250_interrupt(int irq, void *dev_id)
 
        DEBUG_INTR("end.\n");
 
+#ifdef CONFIG_ARCH_OMAP15XX
+       return IRQ_HANDLED;     /* FIXME: iir status not ready on 1510 */
+#else
        return IRQ_RETVAL(handled);
+#endif
 }
 
 /*
@@ -1956,6 +1960,11 @@ static int serial8250_request_std_resource(struct uart_8250_port *up)
        unsigned int size = 8 << up->port.regshift;
        int ret = 0;
 
+#ifdef CONFIG_ARCH_OMAP
+       if (is_omap_port((unsigned int)up->port.membase))
+               size = 0x16 << up->port.regshift;
+#endif
+
        switch (up->port.iotype) {
        case UPIO_AU:
                size = 0x100000;