summaryrefslogtreecommitdiff
path: root/sys/dev/pci/eso.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/eso.c')
-rw-r--r--sys/dev/pci/eso.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/eso.c b/sys/dev/pci/eso.c
index 7f8e6ea3534..e92805052cf 100644
--- a/sys/dev/pci/eso.c
+++ b/sys/dev/pci/eso.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eso.c,v 1.30 2010/04/28 21:24:06 kettenis Exp $ */
+/* $OpenBSD: eso.c,v 1.31 2010/05/23 11:41:07 deraadt Exp $ */
/* $NetBSD: eso.c,v 1.48 2006/12/18 23:13:39 kleink Exp $ */
/*
@@ -1562,14 +1562,14 @@ eso_allocm(void *hdl, int direction, size_t size, int type, int flags)
* XXX implements the 24 low address bits only, with
* XXX machine-specific DMA tag use.
*/
-#ifdef alpha
+#if defined(__alpha__)
/*
* XXX Force allocation through the (ISA) SGMAP.
*/
if (direction == AUMODE_RECORD)
ed->ed_dmat = alphabus_dma_get_tag(sc->sc_dmat, ALPHA_BUS_ISA);
else
-#elif defined(amd64) || defined(i386)
+#elif defined(__amd64__) || defined(__i386__)
/*
* XXX Force allocation through the ISA DMA tag.
*/