|
From: Jan-Benedict G. <jb...@us...> - 2004-09-30 06:52:38
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9193 Modified Files: diag_led.c Log Message: - diag_led support for upcoming KA49 support. Index: diag_led.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/diag_led.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- diag_led.c 30 Jul 2004 00:19:34 -0000 1.6 +++ diag_led.c 30 Sep 2004 06:52:22 -0000 1.7 @@ -49,6 +49,13 @@ inverted = 1; return DIAG_LED_KA48_BASE; } +#ifdef CONFIG_CPU_KA49 + /* Generally, KA49 isn't yet booting to userland, so for now this code is guarded */ + if (is_ka49 ()) { + inverted = 1; + return DIAG_LED_KA49_BASE; + } +#endif /* CONFIG_CPU_KA49 */ printk (KERN_ERR "No base address known for your machine yet!\n"); return 0; |