Update for the KDB framework:
o Make debugging code dependent upon KDB instead of DDB.
This commit is contained in:
parent
c6ca21fb13
commit
3e1e192231
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131914
@ -38,7 +38,6 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -1036,10 +1035,10 @@ ncvintr(arg)
|
||||
scsi_low_print(slp, NULL);
|
||||
printf("%s st %x ist %x\n\n", slp->sl_xname,
|
||||
status, ireason);
|
||||
#ifdef DDB
|
||||
#ifdef KDB
|
||||
if (ncv_debug > 1)
|
||||
SCSI_LOW_DEBUGGER("ncv");
|
||||
#endif /* DDB */
|
||||
#endif /* KDB */
|
||||
}
|
||||
#endif /* NCV_DEBUG */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user