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:
parent
8e81f950a4
commit
9f3695bff9
|
@ -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.
|
||||
|
@ -1085,7 +1085,7 @@ wdcwait(wdc, mask)
|
|||
if ((status & WDCS_BSY) == 0 && (status & mask) == mask)
|
||||
break;
|
||||
if (++timeout > WDCNDELAY) {
|
||||
#ifdef ATAPI_DEBUG2
|
||||
#ifdef ATAPI_DEBUG
|
||||
printf("wdcwait: timeout, status %x error %x\n", status, inb(iobase+wd_error));
|
||||
#endif
|
||||
return -1;
|
||||
|
|
|
@ -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.
|
||||
|
@ -1085,7 +1085,7 @@ wdcwait(wdc, mask)
|
|||
if ((status & WDCS_BSY) == 0 && (status & mask) == mask)
|
||||
break;
|
||||
if (++timeout > WDCNDELAY) {
|
||||
#ifdef ATAPI_DEBUG2
|
||||
#ifdef ATAPI_DEBUG
|
||||
printf("wdcwait: timeout, status %x error %x\n", status, inb(iobase+wd_error));
|
||||
#endif
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue