Commit 67eea496 authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Linus Torvalds

[PATCH] mips: fixed vr41xx serial

UPF_RESOURCES isn't used now.
Signed-off-by: default avatarYoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ce0a1db3
...@@ -115,7 +115,7 @@ void __init vr41xx_siu_init(void) ...@@ -115,7 +115,7 @@ void __init vr41xx_siu_init(void)
port.line = vr41xx_serial_ports; port.line = vr41xx_serial_ports;
port.uartclk = SIU_BASE_BAUD * 16; port.uartclk = SIU_BASE_BAUD * 16;
port.irq = SIU_IRQ; port.irq = SIU_IRQ;
port.flags = UPF_RESOURCES | UPF_BOOT_AUTOCONF | UPF_SKIP_TEST; port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
switch (current_cpu_data.cputype) { switch (current_cpu_data.cputype) {
case CPU_VR4111: case CPU_VR4111:
case CPU_VR4121: case CPU_VR4121:
...@@ -160,7 +160,7 @@ void __init vr41xx_dsiu_init(void) ...@@ -160,7 +160,7 @@ void __init vr41xx_dsiu_init(void)
port.line = vr41xx_serial_ports; port.line = vr41xx_serial_ports;
port.uartclk = DSIU_BASE_BAUD * 16; port.uartclk = DSIU_BASE_BAUD * 16;
port.irq = DSIU_IRQ; port.irq = DSIU_IRQ;
port.flags = UPF_RESOURCES | UPF_BOOT_AUTOCONF | UPF_SKIP_TEST; port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
port.mapbase = DSIU_BASE; port.mapbase = DSIU_BASE;
port.regshift = 0; port.regshift = 0;
port.iotype = UPIO_MEM; port.iotype = UPIO_MEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment