aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2002-06-16 05:02:25 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2002-06-16 05:02:25 +0000
commit759981f4640a8a383c7e5519dfcefa80a85db7c7 (patch)
treeff9a569a1a078749d215637fe2fee2bd1f2671e1 /sys/dev/isp
parentc49c3023c72d2c2e0db05108751bd54b4ebe9cd9 (diff)
Notes
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/isp_freebsd.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h
index 28002720a7e0..903df0fe319e 100644
--- a/sys/dev/isp/isp_freebsd.h
+++ b/sys/dev/isp/isp_freebsd.h
@@ -80,8 +80,16 @@ typedef struct {
u_int32_t orig_datalen;
u_int32_t bytes_xfered;
u_int32_t last_xframt;
- u_int32_t tag;
+ u_int32_t tag : 16,
+ lun : 13, /* not enough */
+ state : 3;
} atio_private_data_t;
+#define ATPD_STATE_FREE 0
+#define ATPD_STATE_ATIO 1
+#define ATPD_STATE_CAM 2
+#define ATPD_STATE_CTIO 3
+#define ATPD_STATE_LAST_CTIO 4
+#define ATPD_STATE_PDON 5
typedef struct tstate {
struct tstate *next;
@@ -91,6 +99,7 @@ typedef struct tstate {
lun_id_t lun;
int bus;
u_int32_t hold;
+ int atio_count;
} tstate_t;
#define LUN_HASH_SIZE 32