summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-04-07 16:10:35 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-04-07 16:10:35 +0000
commitfcf33bf2acba67d9a46273b63ea66634cbcfd0b4 (patch)
tree174c214e148bfd200d8b8e301857ac59c7235924
parentbbc7db47c64cec240079db9bb373438bd94d3fed (diff)
Add DEVNAME.
-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 c806740f9c2..8dbf59a5332 100644
--- a/sys/dev/ic/mfivar.h
+++ b/sys/dev/ic/mfivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfivar.h,v 1.1 2006/04/06 20:22:53 marco Exp $ */
+/* $OpenBSD: mfivar.h,v 1.2 2006/04/07 16:10:34 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -15,6 +15,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#define DEVNAME(_s) ((_s)->sc_dev.dv_xname)
+
struct mfi_softc {
struct device sc_dev;
void *sc_ih;