mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Update for the KDB framework:
o Make debugging code dependent upon KDB instead of DDB.
This commit is contained in:
parent
c6ca21fb13
commit
3e1e192231
1 changed files with 2 additions and 3 deletions
|
|
@ -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 @@ again:
|
|||
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 a new issue