patch-2.4.0-test9 linux/include/asm-arm/arch-shark/system.h

Next file: linux/include/asm-arm/arch-shark/time.h
Previous file: linux/include/asm-arm/arch-shark/keyboard.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-arm/arch-shark/system.h linux/include/asm-arm/arch-shark/system.h
@@ -6,12 +6,19 @@
 #ifndef __ASM_ARCH_SYSTEM_H
 #define __ASM_ARCH_SYSTEM_H
 
+#include <asm/io.h>
+
 static void arch_reset(char mode)
 {
-	/*
-	 * loop endlessly
-	 */
+	short temp;
 	cli();
+	/* Reset the Machine via pc[3] of the sequoia chipset */
+	outw(0x09,0x24);
+	temp=inw(0x26);
+	temp = temp | (1<<3) | (1<<10);
+	outw(0x09,0x24);
+	outw(temp,0x26);
+
 }
 
 static void arch_idle(void)

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