Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2004 02:35:05 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        current@freebsd.org
Subject:   !i386 testing needed for loader fix
Message-ID:  <20041029093505.GA22977@odin.ac.hmc.edu>

next in thread | raw e-mail | index | archive | help

--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I need some !i386 testing for a minor change to the loader.  It should
be a no-op, but I don't have appropriate access to test it at the
moment.  On i386 the test will allow boot with USB keyboards when no
PS/2 keyboard is available by selecting an option in the loader menu.
It is based on PR 73223.

-- Brooks

Index: beastie.4th
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/sys/boot/forth/beastie.4th,v
retrieving revision 1.8
diff -u -p -r1.8 beastie.4th
--- beastie.4th	9 Jan 2004 19:20:47 -0000	1.8
+++ beastie.4th	29 Oct 2004 09:26:00 -0000
@@ -40,6 +40,7 @@ variable promptwidth
=20
 variable bootkey
 variable bootacpikey
+variable bootusbkey
 variable bootsafekey
 variable bootverbosekey
 variable bootsinglekey
@@ -155,6 +156,11 @@ at-xy ."         `--{__________) =1B[0m" 1
 	else
 		-2 bootacpikey !
 	then
+	s" arch-i386" environment? if
+		printmenuitem ."  Boot FreeBSD with USB keyboard" bootusbkey !
+	else
+		-2 bootacpikey !
+	then
 	printmenuitem ."  Boot FreeBSD in Safe Mode" bootsafekey !
 	printmenuitem ."  Boot FreeBSD in single user mode" bootsinglekey !
 	printmenuitem ."  Boot FreeBSD with verbose logging" bootverbosekey !
@@ -221,6 +227,10 @@ set-current
 				s" YES" s" acpi_load" setenv
 				s" 0" s" hint.acpi.0.disabled" setenv
 			then
+			0 boot
+		then
+		dup bootusbkey @ =3D if
+			s" 0x1" s" hint.atkbd.0.flags" setenv
 			0 boot
 		then
 		dup bootsafekey @ =3D if

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBgg7IXY6L6fI4GtQRArl0AKDUGH5MfPV39SbKq9+Wwry9sTXEKwCfeN1R
cz1esT89XXE/WFzpzylw5EM=
=Qqh7
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041029093505.GA22977>