Am Donnerstag 27 Oktober 2011, 23:31:35 schrieb Michael Walle:
> Instead of counting the device index everytime a functions needs it, store
> it in the eth_device struct. eth_register() keeps track of the indices and
> updates the device's index number. This simplifies some functions in
> net/eth.c.
> 
> Additionally, a network driver can now query its index, eg. to get the
> correct environment ethaddr name.
> 
> Signed-off-by: Michael Walle <mich...@walle.cc>
> Cc: Prafulla Wadaskar <prafu...@marvell.com>
> Cc: Mike Frysinger <vap...@gentoo.com>
sorry mike, i'll fix this for v2 ;)

-- 
Michael
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to