// SPDX-License-Identifier: GPL-2.0 /* * Reset a Jazz machine. * * We don't trust the firmware so we do it the classic way by poking and * stabbing at the keyboard controller ...
*/ #include <linux/jiffies.h> #include <asm/jazz.h>
#define KBD_STAT_IBF 0x02 /* Keyboard input buffer full */
staticvoid jazz_write_output(unsignedchar val)
{ int status;
do {
status = jazz_kh->command;
} while (status & KBD_STAT_IBF);
jazz_kh->data = val;
}
staticvoid jazz_write_command(unsignedchar val)
{ int status;
do {
status = jazz_kh->command;
} while (status & KBD_STAT_IBF);
jazz_kh->command = val;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.