> -----Original Message----- > From: Michael Walle [mailto:mich...@walle.cc] > Sent: Thursday, November 03, 2011 4:54 PM > To: Michael Walle > Cc: u-boot@lists.denx.de; Prafulla Wadaskar; Mike Frysinger; > Wolfgang Denk; Michael Walle > Subject: Re: [PATCH 1/2] net: introduce per device index > > Am Do, 27.10.2011, 22:31 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. > > Ping, anyone? > > > Signed-off-by: Michael Walle <mich...@walle.cc> > > Cc: Prafulla Wadaskar <prafu...@marvell.com> > > Cc: Mike Frysinger <vap...@gentoo.com> > > Cc: Wolfgang Denk <w...@denx.de> > > --- > > include/net.h | 1 + > > net/eth.c | 41 ++++++++++++---------------------------
These patches are for u-boot-net.git. Copying Ben on this. Regards.. Prafulla . . _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot