summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfivar.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2012-08-14 10:44:37 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2012-08-14 10:44:37 +0000
commit03538626ef2df72b34aa995d9bcafda953b06369 (patch)
tree6245d2c0bf4e0278c862a7b94197b0d4cc3ccc4b /sys/dev/ic/mfivar.h
parentf7a4b821dc596d271e337b16e2630785f23f1cb5 (diff)
use scsi_get_link to find out the name of a child device for bioctl rather
than snoop scsi commands and copy it in an io path. no functional change, but the code has one less XXX now.
Diffstat (limited to 'sys/dev/ic/mfivar.h')
-rw-r--r--sys/dev/ic/mfivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/mfivar.h b/sys/dev/ic/mfivar.h
index 6e5e49086c3..c4546cba6e3 100644
--- a/sys/dev/ic/mfivar.h
+++ b/sys/dev/ic/mfivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfivar.h,v 1.47 2012/08/14 10:13:39 dlg Exp $ */
+/* $OpenBSD: mfivar.h,v 1.48 2012/08/14 10:44:36 dlg Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -166,6 +166,8 @@ struct mfi_softc {
struct mfi_ccb_list sc_ccb_freeq;
struct mutex sc_ccb_mtx;
+ struct scsibus_softc *sc_scsibus;
+
/* mgmt lock */
struct rwlock sc_lock;