summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-11-16 07:41:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-11-16 07:41:28 +0000
commit79ba0600b03edcfbf274aeb309ee2aa9c7555c68 (patch)
treeed9ffa1eb8702febad439670da805dda6ea08444 /sys/dev
parent984a91d05aaa455c89c82508bf9bca3c89eaa45e (diff)
pull #ifdef __alpha__ out from a #ifdef __NetBSD__
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_devar.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/pci/if_devar.h b/sys/dev/pci/if_devar.h
index bb43da34567..aad577054e5 100644
--- a/sys/dev/pci/if_devar.h
+++ b/sys/dev/pci/if_devar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_devar.h,v 1.4 1997/11/13 21:15:21 rees Exp $ */
+/* $OpenBSD: if_devar.h,v 1.5 1997/11/16 07:41:27 millert Exp $ */
/* $NetBSD: if_devar.h,v 1.13 1997/06/08 18:46:36 thorpej Exp $ */
/*-
@@ -948,16 +948,17 @@ extern struct cfdriver de_cd;
#define TULIP_ETHER_IFATTACH(sc) ether_ifattach(&(sc)->tulip_if, (sc)->tulip_enaddr)
#define TULIP_PRINTF_FMT "%s"
#define TULIP_PRINTF_ARGS sc->tulip_xname
-#if defined(__alpha__)
-/* XXX XXX NEED REAL DMA MAPPING SUPPORT XXX XXX */
-#define TULIP_KVATOPHYS(sc, va) alpha_XXX_dmamap((vm_offset_t)(va))
-#endif
#else
#define TULIP_PRINTF_FMT "%s%d"
#define TULIP_PRINTF_ARGS sc->tulip_xname, sc->tulip_unit
#endif
#endif /* __NetBSD__ */
+#if defined(__alpha__)
+/* XXX XXX NEED REAL DMA MAPPING SUPPORT XXX XXX */
+#define TULIP_KVATOPHYS(sc, va) alpha_XXX_dmamap((vm_offset_t)(va))
+#endif
+
#ifndef TULIP_PRINTF_FMT
#define TULIP_PRINTF_FMT "%s%d"
#endif