mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 10:10:24 -04:00
Update for the KDB framework:
o Make debugging code conditional upon KDB instead of DDB.
This commit is contained in:
parent
3e1e192231
commit
d89b8fc48a
1 changed files with 2 additions and 3 deletions
|
|
@ -41,7 +41,6 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
|
@ -1534,10 +1533,10 @@ nspintr(arg)
|
|||
{
|
||||
nsp_error(sc, "current status", isrc, ph, irqphs);
|
||||
scsi_low_print(slp, NULL);
|
||||
#ifdef DDB
|
||||
#ifdef KDB
|
||||
if (nsp_debug > 1)
|
||||
SCSI_LOW_DEBUGGER("nsp");
|
||||
#endif /* DDB */
|
||||
#endif /* KDB */
|
||||
}
|
||||
#endif /* NSP_DEBUG */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue