[U-Boot] [PATCH v2] mvgbe: remove setting of ethaddr within the driver

Mike Frysinger
2011-11-19T03:58:09Z

On Thursday 17 November 2011 17:52:29 Michael Walle wrote:
> --- a/drivers/net/mvgbe.c
> +++ b/drivers/net/mvgbe.c
>
> switch (devnum) {
> case 0:
> dmvgbe->regs = (void *)MVGBE0_BASE;

unrelated, but usually this is pushed into an option to the init func ... the
caller passes in the base address for the regs rather than the func trying to
decode things itself.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111118/6f67a448/attachment.pgp>