diff options
author | joerg <joerg@FreeBSD.org> | 1996-07-20 22:02:44 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-07-20 22:02:44 +0000 |
commit | aae316ab55ff9f7c5f3a9d992ef4a2021cfc6324 (patch) | |
tree | 5b182f43bc06a8a9b2b5e48e37eedf771293f1b2 | |
parent | 8dc1750b2f7c6daaf7719d3f42aafad69be75dfb (diff) | |
download | FreeBSD-src-aae316ab55ff9f7c5f3a9d992ef4a2021cfc6324.zip FreeBSD-src-aae316ab55ff9f7c5f3a9d992ef4a2021cfc6324.tar.gz |
Replace the annoying calls to Debugger() by panic()'s in the
#ifdef DIAGNOSTIC case, and a warning only otherwise.
People who want them to break into the debugger can always set the
breakpoint explicitly. The existing behaviour was a misfeature from
the beginning, in the (wrong) assumption that the SCSI controller must
always be of essential importance to the entire system.
-rw-r--r-- | sys/i386/isa/aha1542.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/i386/isa/aha1542.c b/sys/i386/isa/aha1542.c index 33a2378..1ee7db3 100644 --- a/sys/i386/isa/aha1542.c +++ b/sys/i386/isa/aha1542.c @@ -12,7 +12,7 @@ * on the understanding that TFS is not responsible for the correct * functioning of this software in any circumstances. * - * $Id: aha1542.c,v 1.58 1996/04/07 17:32:08 bde Exp $ + * $Id: aha1542.c,v 1.59 1996/06/12 05:03:34 gpalmer Exp $ */ /* @@ -914,7 +914,9 @@ aha_done(aha, ccb) */ if (!(xs->flags & INUSE)) { printf("aha%d: exiting but not in use!\n", aha->unit); - Debugger("aha1542"); +#ifdef DIAGNOSTIC + panic("aha1542 exiting but not in use"); +#endif } xs->status = ccb->target_stat; xs->resid = 0; @@ -1870,7 +1872,9 @@ aha_timeout(void *arg1) */ if (ccb->mbx->cmd != AHA_MBO_FREE) { printf("\nadapter not taking commands.. frozen?!\n"); - Debugger("aha1542"); +#ifdef DIAGNOSTIC + panic("aha1542 frozen"); +#endif } /* * If it has been through before, then |