summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt/mpt.h
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-03-07 17:56:40 +0000
committermjacob <mjacob@FreeBSD.org>2006-03-07 17:56:40 +0000
commit8ab5ca4a3f53882bd55943d1e694430ca40e4ed5 (patch)
treef7a56bfd0e7a2774f62bf2cd9609fbf47a21a79a /sys/dev/mpt/mpt.h
parent0c7a140bbca8a87747deb587329425902ddca82a (diff)
downloadFreeBSD-src-8ab5ca4a3f53882bd55943d1e694430ca40e4ed5.zip
FreeBSD-src-8ab5ca4a3f53882bd55943d1e694430ca40e4ed5.tar.gz
Add a serial number for requests so we don't just depend on a request pointer
to try and do forensics on what has occurred.
Diffstat (limited to 'sys/dev/mpt/mpt.h')
-rw-r--r--sys/dev/mpt/mpt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mpt/mpt.h b/sys/dev/mpt/mpt.h
index 1e3a6a0..b88d94b 100644
--- a/sys/dev/mpt/mpt.h
+++ b/sys/dev/mpt/mpt.h
@@ -280,6 +280,7 @@ struct req_entry {
mpt_req_state_t state; /* Request State Information */
uint16_t index; /* Index of this entry */
uint16_t IOCStatus; /* Completion status */
+ uint32_t serno; /* serial number */
union ccb *ccb; /* CAM request */
void *req_vbuf; /* Virtual Address of Entry */
void *sense_vbuf; /* Virtual Address of sense data */
@@ -430,6 +431,7 @@ struct mpt_softc {
bus : 1; /* FC929/1030 have two busses */
u_int verbose;
+ uint32_t cmd_serno;
/*
* IOC Facts
OpenPOWER on IntegriCloud