diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-05-23 11:41:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-05-23 11:41:08 +0000 |
commit | 6f21c7fd9024b93e0835f615bcddc1bb3cc6e509 (patch) | |
tree | 27a7e255711ecd2948d9ad93a25e32b473c5f412 /sys/dev | |
parent | cfc69ebfe12cd7bec889fa2b09a49ed00124d15b (diff) |
rely on __alpha__, __amd64__, and __i386__ instead
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/eso.c | 6 |
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. */ |