summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfivar.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-01-04 08:04:44 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-01-04 08:04:44 +0000
commit9621dc4c2ac883b440f713dcfe971420fc251638 (patch)
tree10af8de51ceb3f2863f28bf488f406d23c77cb36 /sys/dev/ic/mfivar.h
parent0a2af6998a98513fad5e50f2849fde5e5fd1f483 (diff)
rename ccb_xs to ccb_cookie and change its type from a scsi_xfer * to a
void *. this lets us pass things other than scsi_xfers to ccb completion handlers.
Diffstat (limited to 'sys/dev/ic/mfivar.h')
-rw-r--r--sys/dev/ic/mfivar.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/mfivar.h b/sys/dev/ic/mfivar.h
index c7518330607..09a4c715faa 100644
--- a/sys/dev/ic/mfivar.h
+++ b/sys/dev/ic/mfivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfivar.h,v 1.36 2010/01/04 07:57:28 dlg Exp $ */
+/* $OpenBSD: mfivar.h,v 1.37 2010/01/04 08:04:43 dlg Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -76,8 +76,7 @@ struct mfi_ccb {
#define MFI_DATA_IN 1
#define MFI_DATA_OUT 2
- struct scsi_xfer *ccb_xs;
-
+ void *ccb_cookie;
void (*ccb_done)(struct mfi_ccb *);
volatile enum {