Unfortunately, someone changed the inb and friends definitions and
broke ARM. This patch allows ARM to build NE2000 based drivers
again.
drivers/net/8390.h | 5 +++--
1 files changed, 3 insertions, 2 deletions
diff -urN orig/drivers/net/8390.h linux/drivers/net/8390.h
--- orig/drivers/net/8390.h Thu Jul 25 20:13:31 2002
+++ linux/drivers/net/8390.h Sat Jul 27 14:57:02 2002
@@ -111,8 +111,7 @@
#if defined(CONFIG_MAC) || \
defined(CONFIG_ARIADNE2) || defined(CONFIG_ARIADNE2_MODULE) || \
- defined(CONFIG_HYDRA) || defined(CONFIG_HYDRA_MODULE) || \
- defined(CONFIG_ARM_ETHERH) || defined(CONFIG_ARM_ETHERH_MODULE)
+ defined(CONFIG_HYDRA) || defined(CONFIG_HYDRA_MODULE)
#define EI_SHIFT(x) (ei_local->reg_offset[x])
#undef inb
#undef inb_p
@@ -124,6 +123,8 @@
#define inb_p(port) in_8(port)
#define outb_p(val,port) out_8(port,val)
+#elif defined(CONFIG_ARM_ETHERH) || defined(CONFIG_ARM_ETHERH_MODULE)
+#define EI_SHIFT(x) (ei_local->reg_offset[x])
#else
#define EI_SHIFT(x) (x)
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/