2004-09-17 16:26:56

by Yoichi Yuasa

[permalink] [raw]
Subject: [PATCH] mips: fixed vr41xx serial

UPF_RESOURCES isn't used now.

Signed-off-by: Yoichi Yuasa <[email protected]>

diff -urN -X dontdiff a-orig/arch/mips/vr41xx/common/serial.c a/arch/mips/vr41xx/common/serial.c
--- a-orig/arch/mips/vr41xx/common/serial.c Mon Sep 13 14:32:26 2004
+++ a/arch/mips/vr41xx/common/serial.c Sat Sep 18 01:10:23 2004
@@ -115,7 +115,7 @@
port.line = vr41xx_serial_ports;
port.uartclk = SIU_BASE_BAUD * 16;
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) {
case CPU_VR4111:
case CPU_VR4121:
@@ -160,7 +160,7 @@
port.line = vr41xx_serial_ports;
port.uartclk = DSIU_BASE_BAUD * 16;
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.regshift = 0;
port.iotype = UPIO_MEM;