From f3e888418b8262914947b21ba457313e40a1bb27 Mon Sep 17 00:00:00 2001 From: sobomax Date: Thu, 7 Apr 2005 23:59:37 +0000 Subject: Backout previous diffs - this functionality is already provided by the hints to the atkbd(4). PR: Submitted by: jhb --- sys/dev/kbd/atkbdc.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'sys/dev/kbd') diff --git a/sys/dev/kbd/atkbdc.c b/sys/dev/kbd/atkbdc.c index 08fa768..7fc2325 100644 --- a/sys/dev/kbd/atkbdc.c +++ b/sys/dev/kbd/atkbdc.c @@ -38,7 +38,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include @@ -942,26 +941,12 @@ test_controller(KBDC p) return (c == KBD_DIAG_DONE); } - int test_kbd_port(KBDC p) { int retry = KBD_MAXRETRY; int again = KBD_MAXWAIT; int c = -1; - int broken_kit_cmd = 0; - - /* - * Provide a way to disable using Keyboard Interface Test command, which - * may cause problems with some non-compliant hardware, resulting in - * machine being powered down early in the boot process. - * - * Particularly it's known that HP ZV5000 and Compaq R3000Z notebooks are - * affected. - */ - TUNABLE_INT_FETCH("hw.atkbdc.broken_kit_cmd", &broken_kit_cmd); - if (broken_kit_cmd != 0) - return 0; while (retry-- > 0) { empty_both_buffers(p, 10); -- cgit v1.1