[PATCH] net: mvneta: properly disable HW PHY polling and ensure adjust_link() works
Willy Tarreau
w at 1wt.eu
Thu Sep 5 01:12:23 EDT 2013
Hi,
On Wed, Sep 04, 2013 at 09:14:23PM -0700, Ethan Tuttle wrote:
> Just booted with the patch on my Mirabox. Both interfaces work!
> Thank you Thomas.
>
> One remaining issue is that the interface which uBoot didn't configure
> is still getting a random mac address:
>
> mvneta d0070000.ethernet eth0: Using hardware mac address f0:ad:4e:01:dc:97
> mvneta d0074000.ethernet eth1: Using random mac address d2:35:dd:c8:99:48
>
> This is on 3.11 plus Thomas' patch, which includes the previous fix to
> "read MAC address from hardware when available". Perhaps that fix
> isn't working with the phylib?
No this is unrelated. The MAC isn't configured by the boot loader when
the NIC is not used. U-boot only passes it as a non-standard ATAG. I
have some patches to reinject the non-standard atags into the device
tree if you absolutely need this, but they're not suited for mainline
inclusion from what I understood last time I proposed them (they use
a marvell-specific atag header).
Regards,
Willy
More information about the linux-arm-kernel
mailing list