Update for the KDB framework:

o  Remove inclusion of opt_ddb.h
o  Make debugging code conditional upon KDB.
This commit is contained in:
Marcel Moolenaar 2004-07-10 20:57:43 +00:00
parent 124ea6b5ac
commit a0eb4d1051
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131911

View file

@ -39,8 +39,6 @@ __FBSDID("$FreeBSD$");
* POSSIBILITY OF SUCH DAMAGE.
*/
#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@ -1003,10 +1001,10 @@ ctintr(arg)
scsi_low_print(slp, NULL);
printf("%s: scsi_status 0x%x\n\n", slp->sl_xname,
(u_int) scsi_status);
#ifdef DDB
#ifdef KDB
if (ct_debug > 1)
SCSI_LOW_DEBUGGER("ct");
#endif /* DDB */
#endif /* KDB */
}
#endif /* CT_DEBUG */