summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_freebsd.h
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>1998-12-28 19:22:27 +0000
committermjacob <mjacob@FreeBSD.org>1998-12-28 19:22:27 +0000
commit13ecc0c78ff9fb8ff85fb5bbc22804ce475e84d5 (patch)
tree70f6096d6e8fc87c1122cfe617c7526abc27c4b3 /sys/dev/isp/isp_freebsd.h
parent24486a76747904adab3e7d5419dc656fa77611fd (diff)
downloadFreeBSD-src-13ecc0c78ff9fb8ff85fb5bbc22804ce475e84d5.zip
FreeBSD-src-13ecc0c78ff9fb8ff85fb5bbc22804ce475e84d5.tar.gz
clarify headers;move uninit to outer layer;remove watchdog
Diffstat (limited to 'sys/dev/isp/isp_freebsd.h')
-rw-r--r--sys/dev/isp/isp_freebsd.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h
index 7c4fddf..4ef3aac 100644
--- a/sys/dev/isp/isp_freebsd.h
+++ b/sys/dev/isp/isp_freebsd.h
@@ -1,5 +1,5 @@
/* $Id: $ */
-/* isp_freebsd.h 1.16 */
+/* release_12_28_98_A */
/*
* Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions (non CAM version)
*---------------------------------------
@@ -36,7 +36,7 @@
#define _ISP_FREEBSD_H
#define ISP_PLATFORM_VERSION_MAJOR 0
-#define ISP_PLATFORM_VERSION_MINOR 97
+#define ISP_PLATFORM_VERSION_MINOR 98
#include <sys/param.h>
@@ -81,6 +81,7 @@ struct isposinfo {
#define DFLT_DBLEVEL 1
#define ISP_LOCKVAL_DECL int isp_spl_save
+#define ISP_ILOCKVAL_DECL ISP_LOCKVAL_DECL
#define ISP_UNLOCK(isp) (void) splx(isp_spl_save)
#define ISP_LOCK(isp) isp_spl_save = splbio()
#define ISP_ILOCK(isp) ISP_LOCK(isp)
@@ -131,18 +132,15 @@ struct isposinfo {
/*
* Our default tag
*/
-#define XS_KINDOF_TAG(xs) REQFLAG_OTAG
+#define XS_KINDOF_TAG(xs) REQFLAG_STAG
#define CMD_COMPLETE COMPLETE
#define CMD_EAGAIN TRY_AGAIN_LATER
#define CMD_QUEUED SUCCESSFULLY_QUEUED
-
-
#define isp_name isp_osinfo.name
-
#define SYS_DELAY(x) DELAY(x)
#define WATCH_INTERVAL 30
@@ -160,6 +158,7 @@ struct isposinfo {
#define RESTART_WATCHDOG(f, s) START_WATCHDOG(f, s)
extern void isp_attach __P((struct ispsoftc *));
+extern void isp_uninit __P((struct ispsoftc *));
#define PVS "Qlogic ISP Driver, FreeBSD Non-Cam"
OpenPOWER on IntegriCloud