amd64/67745: boot fails on compaq presario r3000z
John Baldwin
john at baldwin.cx
Wed Nov 3 14:40:34 PST 2004
The following reply was made to PR amd64/67745; it has been noted by GNATS.
From: John Baldwin <john at baldwin.cx>
To: freebsd-gnats-submit at FreeBSD.org, newntrbr at ucla.edu
Cc:
Subject: Re: amd64/67745: boot fails on compaq presario r3000z
Date: Wed, 3 Nov 2004 17:39:28 -0500
Ok, can someone please try the attached patch and see if setting
'hint.atkbd.0.flags=8' fixes the problem with the patch applied? Thanks.
Index: atkbd.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/kbd/atkbd.c,v
retrieving revision 1.43
diff -u -r1.43 atkbd.c
--- atkbd.c 10 Jun 2004 20:30:56 -0000 1.43
+++ atkbd.c 3 Nov 2004 22:37:55 -0000
@@ -1117,7 +1117,8 @@
* to set the command byte to particular values.
*/
test_controller(kbdc);
- test_kbd_port(kbdc);
+ if (!(flags & KB_CONF_NO_PROBE_TEST))
+ test_kbd_port(kbdc);
err = get_kbd_echo(kbdc);
Index: atkbdreg.h
===================================================================
RCS file: /usr/cvs/src/sys/dev/kbd/atkbdreg.h,v
retrieving revision 1.6
diff -u -r1.6 atkbdreg.h
--- atkbdreg.h 19 Mar 2000 03:25:12 -0000 1.6
+++ atkbdreg.h 3 Nov 2004 22:37:22 -0000
@@ -35,6 +35,7 @@
#define KB_CONF_FAIL_IF_NO_KBD (1 << 0) /* don't install if no kbd is found
*/
#define KB_CONF_NO_RESET (1 << 1) /* don't reset the keyboard */
#define KB_CONF_ALT_SCANCODESET (1 << 2) /* assume the XT type keyboard */
+#define KB_CONF_NO_PROBE_TEST (1 << 3) /* don't test keyboard during probe */
#ifdef _KERNEL
--
John Baldwin <john at baldwin.cx> <>< http://www.baldwin.cx/~john/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-amd64
mailing list