
19 Jan
2011
19 Jan
'11
9:01 a.m.
Dear Wolfgang Denk,
2011/01/18 18:32, Wolfgang Denk wrote:
Dear Yoshihiro Shimoda,
In message 4D33C0DA.4000701@renesas.com you wrote:
--- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -36,6 +36,12 @@ #ifndef CONFIG_SH_ETHER_PHY_ADDR # error "Please define CONFIG_SH_ETHER_PHY_ADDR" #endif +#ifdef CONFIG_SH_ETHER_CACHE_WRITEBACK +#define flush_cache_wback(addr, len) \
dcache_wback_range((u32)addr, (u32)(addr + len - 1))
+#else +#define flush_cache_wback(...) +#endif
New config options must be documented in the README.
I will document about this option in the README. The README isn't written about the driver now, so I will document about this driver first.
Best regards, Yoshihiro Shimoda