mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar7 misc fixes:
- serial - memory probing git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6635 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -321,7 +321,7 @@ static int __init ar7_register_devices(void)
|
||||
|
||||
memset(uart_port, 0, sizeof(struct uart_port) * 2);
|
||||
|
||||
uart_port[0].type = PORT_16750;
|
||||
uart_port[0].type = PORT_AR7;
|
||||
uart_port[0].line = 0;
|
||||
uart_port[0].irq = AR7_IRQ_UART0;
|
||||
uart_port[0].uartclk = ar7_bus_freq() / 2;
|
||||
@@ -333,7 +333,7 @@ static int __init ar7_register_devices(void)
|
||||
if (res)
|
||||
return res;
|
||||
|
||||
uart_port[1].type = PORT_16750;
|
||||
uart_port[1].type = PORT_AR7;
|
||||
uart_port[1].line = 1;
|
||||
uart_port[1].irq = AR7_IRQ_UART1;
|
||||
uart_port[1].uartclk = ar7_bus_freq() / 2;
|
||||
|
||||
Reference in New Issue
Block a user