
28 Jul
2008
28 Jul
'08
10:29 a.m.
"Hong Xu" hongxu.cn@gmail.com wrote:
maybe we can use config related to the functionnality or the sub-class CPU ex : CONFIG_MACB_INCLK
Agree.
We can use "#if defined(CONFIG_AT91) && defined(CONFIG_MACB)" in net/eth.c and "#ifdef CONFIG_MACB_INCLK" in drivers/net/macb.c to simplify the previous *big* #ifdef. If everyone feels comfortable, I'll rewrite these parts and re-submit the patch.
What does CONFIG_MACB_INCLK mean?
Haavard