Linux MIPS Architecture development
 help / color / mirror / Atom feed
* fixed the problem about build of vr41xx on linux-2.5.45
@ 2002-11-03 14:52 Yoichi Yuasa
  2002-11-03 17:36 ` Ralf Baechle
  0 siblings, 1 reply; 4+ messages in thread
From: Yoichi Yuasa @ 2002-11-03 14:52 UTC (permalink / raw)
  To: ralf; +Cc: yuasa, linux-mips

[-- Attachment #1: Type: text/plain, Size: 131 bytes --]

Hello Ralf,

I fixed the problem about build of vr41xx on linux-2.5.45.
Here is a patch.

Please apply this patch.

Thanks,

Yoichi

[-- Attachment #2: vr41xx-2.4.45.diff --]
[-- Type: text/plain, Size: 2590 bytes --]

diff -aruN linux.orig/arch/mips/Kconfig-shared linux/arch/mips/Kconfig-shared
--- linux.orig/arch/mips/Kconfig-shared	Sun Nov  3 20:42:38 2002
+++ linux/arch/mips/Kconfig-shared	Sun Nov  3 22:45:44 2002
@@ -508,7 +508,7 @@
 
 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
@@ -553,9 +553,9 @@
 	depends on MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000
 	default y
 
-config CONFIG_VR41XX_COMMON
+config VR41XX_COMMON
 	bool
-	depends on CONFIG_NEC_EAGLE || CONFIG_ZAO_CAPCELLA || CONFIG_VICTOR_MPC30X || CONFIG_IBM_WORKPAD || CONFIG_CASIO_E55
+	depends on NEC_EAGLE || ZAO_CAPCELLA || VICTOR_MPC30X || IBM_WORKPAD || CASIO_E55
 	default y
 
 config CONFIG_DDB5XXX_COMMON
diff -aruN linux.orig/arch/mips/defconfig-workpad linux/arch/mips/defconfig-workpad
--- linux.orig/arch/mips/defconfig-workpad	Sun Nov  3 20:43:06 2002
+++ linux/arch/mips/defconfig-workpad	Sun Nov  3 23:36:58 2002
@@ -22,7 +22,7 @@
 # Loadable module support
 #
 CONFIG_MODULES=y
-CONFIG_MODVERSIONS=y
+# CONFIG_MODVERSIONS is not set
 CONFIG_KMOD=y
 
 #
@@ -72,6 +72,7 @@
 CONFIG_SERIAL=y
 CONFIG_SERIAL_MANY_PORTS=y
 CONFIG_DUMMY_KEYB=y
+CONFIG_VR41XX_COMMON=y
 # CONFIG_FB is not set
 
 #
diff -aruN linux.orig/drivers/ide/mips/Makefile linux/drivers/ide/mips/Makefile
--- linux.orig/drivers/ide/mips/Makefile	Fri Nov  1 05:59:35 2002
+++ linux/drivers/ide/mips/Makefile	Sun Nov  3 23:04:04 2002
@@ -1,6 +1,4 @@
 
-O_TARGET := idedriver-mips.o
-
 obj-y		:=
 obj-m		:=
 
diff -aruN linux.orig/include/asm-mips/ide.h linux/include/asm-mips/ide.h
--- linux.orig/include/asm-mips/ide.h	Thu Oct 31 22:50:01 2002
+++ linux/include/asm-mips/ide.h	Sun Nov  3 22:33:12 2002
@@ -202,8 +202,6 @@
 
 #else /* defined(CONFIG_SWAP_IO_SPACE) && defined(__MIPSEB__)  */
 
-#define ide_fix_driveid(id)		do {} while (0)
-
 #endif
 
 #define ide_release_lock(lock)		do {} while (0)
diff -aruN linux.orig/include/asm-mips/system.h linux/include/asm-mips/system.h
--- linux.orig/include/asm-mips/system.h	Sun Nov  3 01:23:55 2002
+++ linux/include/asm-mips/system.h	Sun Nov  3 22:18:07 2002
@@ -319,11 +319,10 @@
 #else
 	unsigned long flags, retval;
 
-	save_flags(flags);
-	cli();
+	local_irq_save(flags);
 	retval = *m;
 	*m = val;
-	restore_flags(flags);	/* implies memory barrier  */
+	local_irq_restore(flags);	/* implies memory barrier  */
 	return retval;
 #endif /* Processor-dependent optimization */
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-07 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-03 14:52 fixed the problem about build of vr41xx on linux-2.5.45 Yoichi Yuasa
2002-11-03 17:36 ` Ralf Baechle
2002-11-04 11:49   ` Yoichi Yuasa
2002-11-07 11:15     ` Yoichi Yuasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox