patch-2.4.21 linux-2.4.21/arch/parisc/kernel/setup.c

Next file: linux-2.4.21/arch/parisc/kernel/sys_parisc32.c
Previous file: linux-2.4.21/arch/parisc/kernel/sba_iommu.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/parisc/kernel/setup.c linux-2.4.21/arch/parisc/kernel/setup.c
@@ -41,6 +41,7 @@
 #include <asm/processor.h>
 #include <asm/pdc.h>
 #include <asm/led.h>
+#include <asm/pdc_chassis.h>
 #include <asm/machdep.h>	/* for pa7300lc_init() proto */
 
 #define COMMAND_LINE_SIZE 1024
@@ -283,6 +284,11 @@
 	parisc_init_resources();
 	do_device_inventory();                  /* probe for hardware */
 
+	parisc_pdc_chassis_init();
+
+	/* set up a new led state on systems shipped LED State panel */
+	pdc_chassis_send_status(PDC_CHASSIS_DIRECT_BSTART);
+	
 	processor_init();
 	printk(KERN_INFO "CPU(s): %d x %s at %d.%06d MHz\n",
 			boot_cpu_data.cpu_count,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)