aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>1999-05-11 05:04:24 +0000
committerMatt Jacob <mjacob@FreeBSD.org>1999-05-11 05:04:24 +0000
commit3e280ff080290d146856b1257d85d0edb369d524 (patch)
treea87251ab4091712573d2d132b2906a92ee7c337e /sys/dev
parentbb430bf78dec370afbc25fa8ab4eff7b89cf041f (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isp/isp_freebsd_cam.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_freebsd_cam.h b/sys/dev/isp/isp_freebsd_cam.h
index 85b2ccfa9ea7..64e09252cbea 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,v 1.15 1999/03/17 05:04:39 mjacob Exp $ */
-/* release_03_25_99 */
+/* $Id: isp_freebsd_cam.h,v 1.16 1999/03/25 22:52:45 mjacob Exp $ */
+/* release_5_11_99 */
/*
* Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions (CAM version)
*---------------------------------------
@@ -69,6 +69,9 @@
#ifndef SCSI_BUSY
#define SCSI_BUSY SCSI_STATUS_BUSY
#endif
+#ifndef SCSI_QFULL
+#define SCSI_QFULL SCSI_STATUS_QUEUE_FULL
+#endif
#define ISP_SCSI_XFER_T struct ccb_scsiio
struct isposinfo {
@@ -76,6 +79,8 @@ struct isposinfo {
int unit;
struct cam_sim *sim;
struct cam_path *path;
+ struct cam_sim *sim2;
+ struct cam_path *path2;
volatile char simqfrozen;
};
#define SIMQFRZ_RESOURCE 0x1
@@ -83,6 +88,8 @@ struct isposinfo {
#define isp_sim isp_osinfo.sim
#define isp_path isp_osinfo.path
+#define isp_sim2 isp_osinfo.sim2
+#define isp_path2 isp_osinfo.path2
#define isp_unit isp_osinfo.unit
#define isp_name isp_osinfo.name
@@ -110,6 +117,7 @@ struct isposinfo {
#define XS_LUN(ccb) (ccb)->ccb_h.target_lun
#define XS_TGT(ccb) (ccb)->ccb_h.target_id
+#define XS_CHANNEL(ccb) cam_sim_bus(xpt_path_sim((ccb)->ccb_h.path))
#define XS_RESID(ccb) (ccb)->resid
#define XS_XFRLEN(ccb) (ccb)->dxfer_len
#define XS_CDBLEN(ccb) (ccb)->cdb_len