summaryrefslogtreecommitdiffstats
path: root/sys/dev/ida/idavar.h
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2004-12-14 17:45:30 +0000
committermdodd <mdodd@FreeBSD.org>2004-12-14 17:45:30 +0000
commitd793b0d8c8facd8247f49d54490f08e9dbf016f6 (patch)
treee8cf4d76e3deab0c60485f82f2d35a9f6b400f48 /sys/dev/ida/idavar.h
parentfb985e2a0c07e7e8e74515b81f7f31237c8eb559 (diff)
downloadFreeBSD-src-d793b0d8c8facd8247f49d54490f08e9dbf016f6.zip
FreeBSD-src-d793b0d8c8facd8247f49d54490f08e9dbf016f6.tar.gz
Add a callout to dump card status on command queue timeouts.
Diffstat (limited to 'sys/dev/ida/idavar.h')
-rw-r--r--sys/dev/ida/idavar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ida/idavar.h b/sys/dev/ida/idavar.h
index 118e680..8b56540 100644
--- a/sys/dev/ida/idavar.h
+++ b/sys/dev/ida/idavar.h
@@ -126,6 +126,8 @@ struct ida_access {
struct ida_softc {
device_t dev;
int unit;
+
+ struct callout ch;
struct cdev *ida_dev_t;
int regs_res_type;
@@ -153,6 +155,8 @@ struct ida_softc {
int num_qcbs;
int flags;
+ int qactive;
+
struct ida_hardware_qcb *hwqcbs; /* HW QCB array */
struct ida_qcb *qcbs; /* kernel QCB array */
SLIST_HEAD(, ida_qcb) free_qcbs;
OpenPOWER on IntegriCloud