Change an ATAPI_DEBUG2->ATAPI_DEBUG. This debug message is needed when

looking what's the autoconfig do on strange harware, and ATAPI_DEBUG2 is
for debuging data transfers (and is really verbose once the machine has booted
from an IDE disk).
This commit is contained in:
bouyer 1997-08-28 11:05:01 +00:00
parent 8e81f950a4
commit 9f3695bff9
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc.c,v 1.2 1997/08/27 11:25:16 bouyer Exp $ */ /* $NetBSD: wdc.c,v 1.3 1997/08/28 11:05:01 bouyer Exp $ */
/* /*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@ -1085,7 +1085,7 @@ wdcwait(wdc, mask)
if ((status & WDCS_BSY) == 0 && (status & mask) == mask) if ((status & WDCS_BSY) == 0 && (status & mask) == mask)
break; break;
if (++timeout > WDCNDELAY) { if (++timeout > WDCNDELAY) {
#ifdef ATAPI_DEBUG2 #ifdef ATAPI_DEBUG
printf("wdcwait: timeout, status %x error %x\n", status, inb(iobase+wd_error)); printf("wdcwait: timeout, status %x error %x\n", status, inb(iobase+wd_error));
#endif #endif
return -1; return -1;

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc.c,v 1.2 1997/08/27 11:25:16 bouyer Exp $ */ /* $NetBSD: wdc.c,v 1.3 1997/08/28 11:05:01 bouyer Exp $ */
/* /*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@ -1085,7 +1085,7 @@ wdcwait(wdc, mask)
if ((status & WDCS_BSY) == 0 && (status & mask) == mask) if ((status & WDCS_BSY) == 0 && (status & mask) == mask)
break; break;
if (++timeout > WDCNDELAY) { if (++timeout > WDCNDELAY) {
#ifdef ATAPI_DEBUG2 #ifdef ATAPI_DEBUG
printf("wdcwait: timeout, status %x error %x\n", status, inb(iobase+wd_error)); printf("wdcwait: timeout, status %x error %x\n", status, inb(iobase+wd_error));
#endif #endif
return -1; return -1;