From c305536317c82efd20639c3d6b603a9bfc6ec2c5 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Mon, 28 Dec 1998 19:22:27 +0000 Subject: clarify headers;move uninit to outer layer;remove watchdog --- sys/dev/isp/isp_freebsd.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'sys/dev/isp/isp_freebsd.h') diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index 7c4fddfbe309..4ef3aac35b97 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 @@ -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" -- cgit v1.3