Hi Geert, as you've probably noticed, my previous EtherNAT patch does not compile without this one being applied as well. Comments welcome (is there anyone on this list with access to an EtherNAT card, besides cts and myself?). Regarding performance afforded by having a 100 Mbit PHY instead of a 10 Mbit one: EtherNAT: 210 KB/s out, 140 KB/s in (scp of a 35 MB vmlinux file) EtherNEC: 175 KB/s out, 128 KB/s in (same file) Hardly worth it, eh? Michael
--- linux-2.6-geert/include/asm-m68k/io.h +++ linux-2.6/include/asm-m68k/io.h @@ -472,7 +472,9 @@ #define readb(addr) in_8(addr) #define writeb(val,addr) out_8((addr),(val)) #define readw(addr) in_le16(addr) +#define readw_be(addr) in_be16(addr) #define writew(val,addr) out_le16((addr),(val)) +#define writew_be(val,addr) out_be16((addr),(val)) #define readsw raw_insw #define writesw raw_outsw