aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>1998-09-17 21:06:38 +0000
committerMatt Jacob <mjacob@FreeBSD.org>1998-09-17 21:06:38 +0000
commit0c1b70151065a00de579521ec2d161aec8d80e12 (patch)
tree0074618bea2d8a1784ea72213e2f3cef1c9223c4 /sys/dev
parentc6904df981fe94d81db420dee9bd506def4b14e6 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isp/isp_freebsd_cam.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/dev/isp/isp_freebsd_cam.h b/sys/dev/isp/isp_freebsd_cam.h
index d5629d3227bb..6e635350f700 100644
--- a/sys/dev/isp/isp_freebsd_cam.h
+++ b/sys/dev/isp/isp_freebsd_cam.h
@@ -1,5 +1,4 @@
/* $FreeBSD$ */
-/* $Id: isp_freebsd_cam.h,v 1.3 1998/09/16 16:42:40 mjacob Exp $ */
/*
* Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions (CAM version)
*---------------------------------------
@@ -79,11 +78,6 @@ struct isposinfo {
#define isp_name isp_osinfo.name
-/*
- * XXXX: UNTIL WE PUT CODE IN THAT CHECKS RETURNS FROM MALLOC
- * XXXX: FOR CONTIGOUS PAGES, WE LIMIT TO PAGE_SIZE THE SIZE
- * XXXX: OF MAILBOXES.
- */
#define MAXISPREQUEST 64
#define PVS "Qlogic ISP Driver, FreeBSD CAM"
@@ -95,7 +89,11 @@ struct isposinfo {
#define PRINTF printf
#define IDPRINTF(lev, x) if (isp->isp_dblev >= lev) printf x
+#ifdef CAMDEBUG
#define DFLT_DBLEVEL 2
+#else
+#define DFLT_DBLEVEL 1
+#endif
#define ISP_LOCKVAL_DECL int isp_spl_save
#define ISP_UNLOCK(isp) (void) splx(isp_spl_save)
@@ -194,8 +192,6 @@ struct isposinfo {
#define CMD_EAGAIN 1
#define CMD_QUEUED 2
-
-
#define SYS_DELAY(x) DELAY(x)
#define WATCH_INTERVAL 30