From f43fc3fc9d00f9905c55ed82c021e0ec75d90281 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 9 Nov 2011 14:37:47 +0000 Subject: [PATCH] Revert some debugging printfs that crept into 223695. --- sys/boot/i386/libi386/bioscd.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/boot/i386/libi386/bioscd.c b/sys/boot/i386/libi386/bioscd.c index dd50f7dd15f2..9babcdf567fb 100644 --- a/sys/boot/i386/libi386/bioscd.c +++ b/sys/boot/i386/libi386/bioscd.c @@ -117,7 +117,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) @@ -149,7 +148,6 @@ bc_init(void) int bc_add(int biosdev) { - printf("bc_add(%d)\n", biosdev); if (nbcinfo >= MAXBCDEV) return (-1); @@ -161,10 +159,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++;