summaryrefslogtreecommitdiff
path: root/sys/dev/isa/btreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa/btreg.h')
-rw-r--r--sys/dev/isa/btreg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/isa/btreg.h b/sys/dev/isa/btreg.h
index 5bb6c9b9d30..7b4c46e72f0 100644
--- a/sys/dev/isa/btreg.h
+++ b/sys/dev/isa/btreg.h
@@ -139,6 +139,7 @@ struct bt_ccb {
/*------------------------------------longword boundary */
struct bt_scat_gath scat_gath[BT_NSEG];
/*------------------------------------longword boundary */
+#define CCB_PHYS_SIZE ((int)&((struct bt_ccb *)0)->chain)
TAILQ_ENTRY(bt_ccb) chain;
struct bt_ccb *nexthash;
long hashkey;
@@ -150,6 +151,9 @@ struct bt_ccb {
#define CCB_SENDING 0x04
#endif
int timeout;
+ struct isadma_seg ccb_phys[1]; /* phys segment of this ccb */
+ struct isadma_seg data_phys[BT_NSEG]; /* phys segments of data */
+ int data_nseg; /* number of phys segments of data */
};
/*