summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfireg.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-05-17 23:40:27 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-05-17 23:40:27 +0000
commitc24359dd516c87dc00fe85c7b32463a05d716199 (patch)
tree0e72d0beb55e3f8ac6964fdd0ec6ddf3b60a68c7 /sys/dev/ic/mfireg.h
parent597a67a702e713bb4d13f5adf5cb2f1302168212 (diff)
Add completion routines.
Fix some bugs inside the interrupt handler.
Diffstat (limited to 'sys/dev/ic/mfireg.h')
-rw-r--r--sys/dev/ic/mfireg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/mfireg.h b/sys/dev/ic/mfireg.h
index 354b22ac3ff..27b6f6aab9d 100644
--- a/sys/dev/ic/mfireg.h
+++ b/sys/dev/ic/mfireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfireg.h,v 1.12 2006/05/17 21:50:21 marco Exp $ */
+/* $OpenBSD: mfireg.h,v 1.13 2006/05/17 23:40:26 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -282,6 +282,7 @@ struct mfi_init_qinfo {
uint32_t miq_ci_addr_hi;
} __packed;
+#define MFI_IO_FRAME_SIZE 40
struct mfi_io_frame {
struct mfi_frame_header mif_header;
uint32_t mif_sense_addr_lo;
@@ -300,7 +301,7 @@ struct mfi_pass_frame {
union mfi_sgl mpf_sgl;
} __packed;
-#define MFI_DCMD_FRAME_SIZE 40
+#define MFI_DCMD_FRAME_SIZE 40
struct mfi_dcmd_frame {
struct mfi_frame_header mdf_header;
uint32_t mdf_opcode;