summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_freebsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isp/isp_freebsd.h')
-rw-r--r--sys/dev/isp/isp_freebsd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h
index 91b837d..67abd62 100644
--- a/sys/dev/isp/isp_freebsd.h
+++ b/sys/dev/isp/isp_freebsd.h
@@ -66,6 +66,14 @@
typedef void ispfwfunc __P((int, int, int, const u_int16_t **));
#ifdef ISP_TARGET_MODE
+#define ATPDPSIZE 256
+typedef struct {
+ u_int32_t orig_datalen;
+ u_int32_t bytes_xfered;
+ u_int32_t last_xframt;
+ u_int32_t tag;
+} atio_private_data_t;
+
typedef struct tstate {
struct tstate *next;
struct cam_path *owner;
@@ -112,6 +120,7 @@ struct isposinfo {
u_int16_t rollinfo;
tstate_t tsdflt[2]; /* two busses */
tstate_t *lun_hash[LUN_HASH_SIZE];
+ atio_private_data_t atpdp[ATPDPSIZE];
#endif
};
OpenPOWER on IntegriCloud