1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Restore Rev. 1.40 (remove "Keyboard yes/no" printf).

GCC 3.2 overflows boot2 by 12 bytes, this patch brings it back
within the boundaries, with 12 bytes available for future bloat.

Approved by:	obrien
This commit is contained in:
Alexander Kabaev 2002-09-01 21:29:10 +00:00
parent 948dfbed43
commit 0f8a5e9b3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102807
2 changed files with 2 additions and 2 deletions

View File

@ -409,7 +409,7 @@ parse(char *arg)
} }
if (opts & 1 << RBX_PROBEKBD) { if (opts & 1 << RBX_PROBEKBD) {
i = *(uint8_t *)PTOV(0x496) & 0x10; i = *(uint8_t *)PTOV(0x496) & 0x10;
printf("Keyboard: %s\n", i ? "yes" : "no"); /* printf("Keyboard: %s\n", i ? "yes" : "no"); */
if (!i) if (!i)
opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL; opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL;
opts &= ~(1 << RBX_PROBEKBD); opts &= ~(1 << RBX_PROBEKBD);

View File

@ -409,7 +409,7 @@ parse(char *arg)
} }
if (opts & 1 << RBX_PROBEKBD) { if (opts & 1 << RBX_PROBEKBD) {
i = *(uint8_t *)PTOV(0x496) & 0x10; i = *(uint8_t *)PTOV(0x496) & 0x10;
printf("Keyboard: %s\n", i ? "yes" : "no"); /* printf("Keyboard: %s\n", i ? "yes" : "no"); */
if (!i) if (!i)
opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL; opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL;
opts &= ~(1 << RBX_PROBEKBD); opts &= ~(1 << RBX_PROBEKBD);