Ok, I checked man diff and know I have a patch:

--- linux-2.6.13.5/include/asm-i386/mach-default/mach_reboot.h 2005-12-15 19:38:27.000000000 +0100 +++ linux-2.6.15/include/asm-i386/mach-default/mach_reboot.h 2006-01-03 04:21:10.000000000 +0100
@@ -19,10 +19,18 @@
static inline void mach_reboot(void)
{
       int i;
-       for (i = 0; i < 100; i++) {
+       for (i = 0; i < 10; i++) {
               kb_wait();
               udelay(50);
-               outb(0xfe, 0x64);         /* pulse reset low */
+               outb(0x60, 0x64);       /* write Controller Command Byte */
+               udelay(50);
+               kb_wait();
+               udelay(50);
+               outb(0x14, 0x60);       /* set "System flag" */
+               udelay(50);
+               kb_wait();
+               udelay(50);
+               outb(0xfe, 0x64);       /* pulse reset low */
               udelay(50);
       }
}


Hope it helps ... works for me, but may break other systems ...


kind regards, Lee


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to