From 20ea8acc0ae749ecd0603b560f8ac0cd69263fa3 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 2 Jun 2005 21:55:34 +0000 Subject: use much simpler switch for pci_machdep.h; ok drahn@ whatever tdr (; --- sys/dev/pci/pcivar.h | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-) diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index a0dc1209041..b7714707cce 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcivar.h,v 1.40 2004/12/07 02:11:24 brad Exp $ */ +/* $OpenBSD: pcivar.h,v 1.41 2005/06/02 21:55:33 mickey Exp $ */ /* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */ /* @@ -54,38 +54,18 @@ struct pcibus_attach_args; /* * Machine-dependent definitions. */ -#if (__alpha__ + __atari__ + __i386__ + __cats__ + __powerpc__ + __sparc64__ + __hppa__ +__amd64__ + __sgi__ != 1) -#error COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE. -#endif -#if __alpha__ +#if defined(__alpha__) #include -#endif -#if __atari__ -#include -#endif -#if __i386__ +#elif defined(__i386__) #include -#endif -#if __cats__ +#elif defined(__cats__) #include -#endif -#if __powerpc__ +#elif defined(__powerpc__) #include -#endif -#if __sparc64__ -#include -#endif -#if __hppa64__ -#include -#endif -#if __hppa__ -#include -#endif -#if __amd64__ -#include -#endif -#if __sgi__ +#elif defined(__sgi__) #include +#else +#include #endif /* -- cgit v1.2.3