diff options
author | Derek Young <dyoung@nslu2-linux.org> | 2005-08-16 11:44:29 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-16 11:44:29 +0000 |
commit | 80f992bb54009100614cd4c9fede87cedd2a4728 (patch) | |
tree | 4e89f3a283db272190cdb6847864a874693d7d3a /packages/linux/nslu2-kernel/2.6.12 | |
parent | 19f46753a7ac8d85961df012cd130a16f393ddc9 (diff) |
Add 2nd serial port support. It is a RX only port, but useful for things like GPSs
Diffstat (limited to 'packages/linux/nslu2-kernel/2.6.12')
-rw-r--r-- | packages/linux/nslu2-kernel/2.6.12/nslu2-setup.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/packages/linux/nslu2-kernel/2.6.12/nslu2-setup.c b/packages/linux/nslu2-kernel/2.6.12/nslu2-setup.c index 47be53bf81..cc3b987575 100644 --- a/packages/linux/nslu2-kernel/2.6.12/nslu2-setup.c +++ b/packages/linux/nslu2-kernel/2.6.12/nslu2-setup.c @@ -76,14 +76,10 @@ static struct resource nslu2_uart_resources[] = { .flags = IORESOURCE_MEM }, { - }, -#if 0 - , { .start = IXP4XX_UART2_BASE_PHYS, .end = IXP4XX_UART2_BASE_PHYS + 0x0fff, .flags = IORESOURCE_MEM } -#endif }; static struct plat_serial8250_port nslu2_uart_data[] = { @@ -97,19 +93,14 @@ static struct plat_serial8250_port nslu2_uart_data[] = { .uartclk = IXP4XX_UART_XTAL, }, { - }, - -#if 0 - , { .mapbase = IXP4XX_UART2_BASE_PHYS, .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, - .irq = IRQ_IXP4XX_UART1, + .irq = IRQ_IXP4XX_UART2, .flags = UPF_BOOT_AUTOCONF, .iotype = UPIO_MEM, .regshift = 2, .uartclk = IXP4XX_UART_XTAL, } -#endif }; static struct platform_device nslu2_uart = { |