summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2011-12-01 20:39:18 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2011-12-01 20:39:18 +0000
commit5d0fc87b6296310e6e494b4f34350874a53915ff (patch)
tree9d055a2fb25cec58e87c917d6035844727ae082c /sys
parent88e8ae2eb3c0a6644750e20e6351103bba45197c (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/i386/libi386/bioscd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/boot/i386/libi386/bioscd.c b/sys/boot/i386/libi386/bioscd.c
index dda93f436132..def2c40690d3 100644
--- a/sys/boot/i386/libi386/bioscd.c
+++ b/sys/boot/i386/libi386/bioscd.c
@@ -118,7 +118,6 @@ bc_bios2unit(int biosdev)
int i;
DEBUG("looking for bios device 0x%x", biosdev);
- printf("looking for bios device 0x%x, nbcinfo=%d\n", biosdev, nbcinfo);
for (i = 0; i < nbcinfo; i++) {
DEBUG("bc unit %d is BIOS device 0x%x", i, bcinfo[i].bc_unit);
if (bcinfo[i].bc_unit == biosdev)
@@ -150,7 +149,6 @@ bc_init(void)
int
bc_add(int biosdev)
{
- printf("bc_add(%d)\n", biosdev);
if (nbcinfo >= MAXBCDEV)
return (-1);
@@ -162,10 +160,8 @@ bc_add(int biosdev)
v86.ds = VTOPSEG(&bcinfo[nbcinfo].bc_sp);
v86.esi = VTOPOFF(&bcinfo[nbcinfo].bc_sp);
v86int();
- if ((v86.eax & 0xff00) != 0) {
- printf("CD probe failed, eax=0x%08x\n", v86.eax);
+ if ((v86.eax & 0xff00) != 0)
return (-1);
- }
printf("BIOS CD is cd%d\n", nbcinfo);
nbcinfo++;