// SPDX-License-Identifier: GPL-2.0 /* * linux/arch/mips/sni/process.c * * Reset a SNI machine. */ #include <linux/delay.h> #include <asm/io.h> #include <asm/reboot.h> #include <asm/sni.h> /* * This routine reboots the machine by asking the keyboard * controller to pulse the reset-line low. We try that for a while, * and if it doesn't work, we do some other stupid things. */
static inline void kb_wait(void) { int i; for (i = 0; i < 0x10000; i++) if ((inb_p(0x64) & 0x02) == 0) break; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 39 | 100.00% | 1 | 100.00% |
Total | 39 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 48 | 81.36% | 1 | 33.33% |
Ralf Bächle | 11 | 18.64% | 2 | 66.67% |
Total | 59 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 117 | 88.64% | 1 | 25.00% |
Ralf Bächle | 14 | 10.61% | 2 | 50.00% |
Greg Kroah-Hartman | 1 | 0.76% | 1 | 25.00% |
Thomas Bogendoerfer | 0.00% | 0 | 0.00% | |
Total | 132 | 100.00% | 4 | 100.00% |