patch-1.3.22 linux/include/asm-alpha/io.h

Next file: linux/include/asm-alpha/lca.h
Previous file: linux/include/asm-alpha/hwrpb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.21/linux/include/asm-alpha/io.h linux/include/asm-alpha/io.h
@@ -84,10 +84,12 @@
  * "interesting" (read: slightly braindead) Jensen type hardware
  * and the PCI version
  */
-#ifdef CONFIG_PCI
-#include <asm/lca.h>		/* get chip-specific definitions */
+#if defined(CONFIG_ALPHA_LCA)
+# include <asm/lca.h>		/* get chip-specific definitions */
+#elif defined(CONFIG_ALPHA_APECS)
+# include <asm/apecs.h>		/* get chip-specific definitions */
 #else
-#include <asm/jensen.h>
+# include <asm/jensen.h>
 #endif
 
 #ifdef __KERNEL__

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this