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:
parent
948dfbed43
commit
0f8a5e9b3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102807
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user