patch-2.4.19 linux-2.4.19/drivers/net/8390.h
Next file: linux-2.4.19/drivers/net/Config.in
Previous file: linux-2.4.19/drivers/net/8390.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/net/8390.h
- Orig date:
Thu Nov 22 11:48:14 2001
diff -urN linux-2.4.18/drivers/net/8390.h linux-2.4.19/drivers/net/8390.h
@@ -112,13 +112,24 @@
/*
* Only generate indirect loads given a machine that needs them.
+ * - removed AMIGA_PCMCIA from this list, handled as ISA io now
*/
-#if defined(CONFIG_MAC) || defined(CONFIG_AMIGA_PCMCIA) || \
+#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)
#define EI_SHIFT(x) (ei_local->reg_offset[x])
+#undef inb
+#undef inb_p
+#undef outb
+#undef outb_p
+
+#define inb(port) in_8(port)
+#define outb(val,port) out_8(port,val)
+#define inb_p(port) in_8(port)
+#define outb_p(val,port) out_8(port,val)
+
#else
#define EI_SHIFT(x) (x)
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)