
18 Aug
2008
18 Aug
'08
9:16 p.m.
On Aug 18, 2008, at 2:12 PM, Wolfgang Denk wrote:
Dear Kumar Gala,
In message Pine.LNX.4.64.0808181344310.9116@blarg.am.freescale.net you wrote:
Move to using the environment variables 'ethaddr', 'eth1addr', etc.. instead of bd->bi_enetaddr, bi_enet1addr, etc.
This makes the code a bit more flexible to the number of ethernet interfaces. Right now we assume a max of 10 interfaces.
How does this match with our very static way of selecting this using 'CONFIG_HAS_ETH<n>' #defines? There is no such thing as CONFIG_HAS_ETH8 anywhere in the code...
oops, forgot about that. I think we just have the code exist always (for CONFIG_OF_LIBFDT)
- k