summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfivar.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-05-15 23:20:58 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-05-15 23:20:58 +0000
commit8c2f3074e2bddb3fe5f8d874bf7413210bf7b0b4 (patch)
tree48147de6323b1829920f0ae1d452279f8f27147e /sys/dev/ic/mfivar.h
parent4e41010bb42a7c0b1fde0a955cf4a983f908616b (diff)
Add INQUIRY command.
Add sgl magic.
Diffstat (limited to 'sys/dev/ic/mfivar.h')
-rw-r--r--sys/dev/ic/mfivar.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/ic/mfivar.h b/sys/dev/ic/mfivar.h
index 8c0a244ee27..80c1a111202 100644
--- a/sys/dev/ic/mfivar.h
+++ b/sys/dev/ic/mfivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfivar.h,v 1.14 2006/05/10 21:48:50 marco Exp $ */
+/* $OpenBSD: mfivar.h,v 1.15 2006/05/15 23:20:57 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -57,6 +57,7 @@ struct mfi_ccb {
union mfi_frame *ccb_frame;
paddr_t ccb_pframe;
+ uint32_t ccb_frame_size;
uint32_t ccb_extra_frames;
struct mfi_sense *ccb_sense;
@@ -64,6 +65,12 @@ struct mfi_ccb {
bus_dmamap_t ccb_dmamap;
+ union mfi_sgl *ccb_sgl;
+
+ uint32_t ccb_direction;
+#define MFI_DATA_IN 0
+#define MFI_DATA_OUT 1
+
struct scsi_xfer *ccb_xs;
void (*ccb_done)(struct mfi_softc *sc,
@@ -106,6 +113,8 @@ struct mfi_softc {
/* firmware determined max and totals */
uint32_t sc_max_cmds;
uint32_t sc_max_sgl;
+ uint32_t sc_max_ld;
+ uint32_t sc_ld_cnt;
/* all commands */
struct mfi_ccb *sc_ccb;