diff options
author | kan <kan@FreeBSD.org> | 2002-09-01 21:29:10 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2002-09-01 21:29:10 +0000 |
commit | ae4b45674cf31dbfe2ca333e6d3b5faf3f214ff4 (patch) | |
tree | 5d7c3da5c8ef689aa14c73b11c2c2e77db78c1d2 /sys/boot | |
parent | 5edce35840c8e5ee30500f55a7158a12ff4f696f (diff) | |
download | FreeBSD-src-ae4b45674cf31dbfe2ca333e6d3b5faf3f214ff4.zip FreeBSD-src-ae4b45674cf31dbfe2ca333e6d3b5faf3f214ff4.tar.gz |
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
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/i386/boot2/boot2.c | 2 | ||||
-rw-r--r-- | sys/boot/i386/gptboot/gptboot.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/boot2.c b/sys/boot/i386/boot2/boot2.c index e506c29..ed1e91e 100644 --- a/sys/boot/i386/boot2/boot2.c +++ b/sys/boot/i386/boot2/boot2.c @@ -409,7 +409,7 @@ parse(char *arg) } if (opts & 1 << RBX_PROBEKBD) { i = *(uint8_t *)PTOV(0x496) & 0x10; - printf("Keyboard: %s\n", i ? "yes" : "no"); + /* printf("Keyboard: %s\n", i ? "yes" : "no"); */ if (!i) opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL; opts &= ~(1 << RBX_PROBEKBD); diff --git a/sys/boot/i386/gptboot/gptboot.c b/sys/boot/i386/gptboot/gptboot.c index e506c29..ed1e91e 100644 --- a/sys/boot/i386/gptboot/gptboot.c +++ b/sys/boot/i386/gptboot/gptboot.c @@ -409,7 +409,7 @@ parse(char *arg) } if (opts & 1 << RBX_PROBEKBD) { i = *(uint8_t *)PTOV(0x496) & 0x10; - printf("Keyboard: %s\n", i ? "yes" : "no"); + /* printf("Keyboard: %s\n", i ? "yes" : "no"); */ if (!i) opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL; opts &= ~(1 << RBX_PROBEKBD); |