From fcf33bf2acba67d9a46273b63ea66634cbcfd0b4 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 7 Apr 2006 16:10:35 +0000 Subject: Add DEVNAME. --- sys/dev/ic/mfivar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev') 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 * @@ -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; -- cgit v1.2.3