Toshiba Laptop Support and IRQ Locks
Subsystems (2)
Quoted 3 lines
Alrighty then, the patch below uses spinlocks instead of
cli()and friends -- to conform to the new irq locking mechanism -- and some minor module changes while we're at it.
The patch seems mangled in:
http://marc.theaimsgroup.com/?l=linux-kernel&m=102832986723995&w=2
I'd like to try it if someone has an unmangled version.
2.5.34 compile on my toshiba tecra 8000 stopped with:
drivers/built-in.o: In function `tosh_fn_status':
drivers/built-in.o(.text+0x17569): undefined reference to save_flags' drivers/built-in.o(.text+0x1756e): undefined reference to cli' drivers/built-in.o(.text+0x1757f): undefined reference to restore_flags' drivers/built-in.o: In function tosh_emulate_fan':
The patch below gets it to compile and boot.
drivers/char/toshiba.c 2002-09-10 17:30:27.000000000 -0400 renamed from drivers/char/toshiba.c 2002-05-21 01:07:42.000000000 -0400 +1 -0
@@ -57,6 +57,7 @@ #define TOSH_DEBUG 0 #include <linux/module.h> +#include <linux/interrupt.h> #include <linux/version.h> #include <linux/kernel.h> #include <linux/sched.h>
The keyboard isn't working though. That may be a config issue.
egrep ^C.*INPUT .configCONFIG_INPUT=yCONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_KEYBOARD=y
I haven't tried 2.5 on the laptop for a long time. Anyone running 2.5 on a toshiba laptop? A tecra 8000?
Signature · 2 lines
Randy Hron http://home.earthlink.net/~rwhron/kernel/bigbox.html