Hi Ralf, If this patch is not applied, it will become build error by VR41xx. Please apply this patch. Thanks, Yoichi On Mon, 4 Nov 2002 20:49:29 +0900 Yoichi Yuasa <yuasa@hh.iij4u.or.jp> wrote: > Hello Ralf, > > On Sun, 3 Nov 2002 18:36:50 +0100 > Ralf Baechle <ralf@uni-koblenz.de> wrote: > > > On Sun, Nov 03, 2002 at 11:52:24PM +0900, Yoichi Yuasa wrote: > > > > > Hello Ralf, > > > > > > I fixed the problem about build of vr41xx on linux-2.5.45. > > > Here is a patch. > > > > I applied the patch although quite heavily modified. Here the bad bits: > > > > > config SERIAL > > > tristate > > > - depends on NEC_OSPREY || IBM_WORKPAD || CASIO_E55 > > > + depends on ZAO_CAPCELLA || NEC_EAGLE || NEC_OSPREY || VICTOR_MPC30X || IBM_WORKPAD || CASIO_E55 > > > default y > > > ---help--- > > > This selects whether you want to include the driver for the standard > > > > This misses the problem. There is no more CONFIG_SERIAL option and as such > > I removed all CONFIG_SERIAL* stuff entirely. > > I made a patch for vr41xx about this problem. > Please apply a patch.
diff -aruN linux.orig/arch/mips/vr41xx/casio-e55/setup.c linux/arch/mips/vr41xx/casio-e55/setup.c --- linux.orig/arch/mips/vr41xx/casio-e55/setup.c Tue Oct 29 09:56:59 2002 +++ linux/arch/mips/vr41xx/casio-e55/setup.c Mon Nov 4 15:05:00 2002 @@ -68,5 +68,7 @@ vr41xx_cmu_init(0); +#ifdef CONFIG_SERIAL_8250 vr41xx_siu_init(SIU_RS232C, 0); +#endif } diff -aruN linux.orig/arch/mips/vr41xx/common/Makefile linux/arch/mips/vr41xx/common/Makefile --- linux.orig/arch/mips/vr41xx/common/Makefile Fri Nov 1 11:32:25 2002 +++ linux/arch/mips/vr41xx/common/Makefile Mon Nov 4 15:01:14 2002 @@ -5,7 +5,7 @@ obj-y := bcu.o cmu.o giu.o icu.o int-handler.o reset.o obj-$(CONFIG_PCI) += pciu.o -obj-$(CONFIG_SERIAL) += serial.o +obj-$(CONFIG_SERIAL_8250) += serial.o obj-$(CONFIG_VR41XX_TIME_C) += time.o EXTRA_AFLAGS := $(CFLAGS) diff -aruN linux.orig/arch/mips/vr41xx/ibm-workpad/setup.c linux/arch/mips/vr41xx/ibm-workpad/setup.c --- linux.orig/arch/mips/vr41xx/ibm-workpad/setup.c Tue Oct 29 09:56:59 2002 +++ linux/arch/mips/vr41xx/ibm-workpad/setup.c Mon Nov 4 15:10:05 2002 @@ -68,5 +68,7 @@ vr41xx_cmu_init(0); +#ifdef CONFIG_SERIAL_8250 vr41xx_siu_init(SIU_RS232C, 0); +#endif } diff -aruN linux.orig/arch/mips/vr41xx/nec-eagle/setup.c linux/arch/mips/vr41xx/nec-eagle/setup.c --- linux.orig/arch/mips/vr41xx/nec-eagle/setup.c Tue Oct 29 09:56:59 2002 +++ linux/arch/mips/vr41xx/nec-eagle/setup.c Mon Nov 4 15:10:46 2002 @@ -146,8 +146,10 @@ vr41xx_cmu_init(0); +#ifdef CONFIG_SERIAL_8250 vr41xx_dsiu_init(); vr41xx_siu_init(SIU_RS232C, 0); +#endif #ifdef CONFIG_PCI vr41xx_pciu_init(&pci_address_map); diff -aruN linux.orig/arch/mips/vr41xx/victor-mpc30x/setup.c linux/arch/mips/vr41xx/victor-mpc30x/setup.c --- linux.orig/arch/mips/vr41xx/victor-mpc30x/setup.c Tue Oct 29 09:56:59 2002 +++ linux/arch/mips/vr41xx/victor-mpc30x/setup.c Mon Nov 4 15:11:14 2002 @@ -116,7 +116,9 @@ vr41xx_cmu_init(0); +#ifdef CONFIG_SERIAL_8250 vr41xx_siu_init(SIU_RS232C, 0); +#endif #ifdef CONFIG_PCI vr41xx_pciu_init(&pci_address_map); diff -aruN linux.orig/arch/mips/vr41xx/zao-capcella/setup.c linux/arch/mips/vr41xx/zao-capcella/setup.c --- linux.orig/arch/mips/vr41xx/zao-capcella/setup.c Tue Oct 29 09:56:59 2002 +++ linux/arch/mips/vr41xx/zao-capcella/setup.c Mon Nov 4 15:11:52 2002 @@ -116,8 +116,10 @@ vr41xx_cmu_init(0x0102); +#ifdef CONFIG_SERIAL_8250 vr41xx_siu_init(SIU_RS232C, 0); vr41xx_dsiu_init(); +#endif #ifdef CONFIG_PCI vr41xx_pciu_init(&pci_address_map);