diff options
author | mjacob <mjacob@FreeBSD.org> | 1998-12-28 19:22:27 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1998-12-28 19:22:27 +0000 |
commit | 13ecc0c78ff9fb8ff85fb5bbc22804ce475e84d5 (patch) | |
tree | 70f6096d6e8fc87c1122cfe617c7526abc27c4b3 /sys/dev/isp/isp_freebsd_cam.h | |
parent | 24486a76747904adab3e7d5419dc656fa77611fd (diff) | |
download | FreeBSD-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_cam.h')
-rw-r--r-- | sys/dev/isp/isp_freebsd_cam.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/dev/isp/isp_freebsd_cam.h b/sys/dev/isp/isp_freebsd_cam.h index af92625..4818689 100644 --- a/sys/dev/isp/isp_freebsd_cam.h +++ b/sys/dev/isp/isp_freebsd_cam.h @@ -1,5 +1,5 @@ /* $Id: $ */ -/* isp_freebsd_cam.h 1.10 */ +/* release_12_28_98_A */ /* * Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions (CAM version) *--------------------------------------- @@ -69,7 +69,6 @@ struct isposinfo { int unit; struct cam_sim *sim; struct cam_path *path; - struct callout_handle watchid; volatile char simqfrozen; }; @@ -97,6 +96,7 @@ struct isposinfo { #endif #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 = splcam() #define ISP_ILOCK(isp) ISP_LOCK(isp) @@ -171,14 +171,8 @@ extern void isp_done(struct ccb_scsiio *); #define CMD_QUEUED 2 #define SYS_DELAY(x) DELAY(x) - -#define WATCH_INTERVAL 30 -#define START_WATCHDOG(f, s) \ - (s)->isp_osinfo.watchid = timeout(f, s, WATCH_INTERVAL * hz), \ - s->isp_dogactive = 1 -#define STOP_WATCHDOG(f, s) untimeout(f, s, (s)->isp_osinfo.watchid),\ - (s)->isp_dogactive = 0 -#define RESTART_WATCHDOG(f, s) START_WATCHDOG(f, s) +#define STOP_WATCHDOG(f, s) extern void isp_attach __P((struct ispsoftc *)); +extern void isp_uninit __P((struct ispsoftc *)); #endif /* _ISP_FREEBSD_CAM_H */ |