2 * Reset a Jazz machine.
4 #include <linux/sched.h>
7 #include <asm/system.h>
8 #include <asm/reboot.h>
10 #include <asm/keyboard.h>
12 static inline void kb_wait(void)
14 unsigned long start = jiffies;
17 if (! (kbd_read_status() & 0x02))
19 } while (jiffies - start < 50);
22 void jazz_machine_restart(char *command)
26 kbd_write_command (0xd1);
28 kbd_write_output (0x00);
32 void jazz_machine_halt(void)
36 void jazz_machine_power_off(void)
38 /* Jazz machines don't have a software power switch */