Subject: Re: emac driver broken in 2.6.12.2 ?

From: Stefan Roese <[email-masked]>
Date: Mon, 19 Sep 2005 15:51:43 +0200

Hi Peter,

On Monday 19 September 2005 15:37, Peter Fercher wrote:
> i have problems with the IBM EMAC with 2.6.12.2 (the driver worked with
> 2.4.25)
> running on ppc405EP octobus board. Cross compiled on x86 using the eldk-3.1
> toolchain
>
> any hints ?
>
> emac: IBM EMAC Ethernet driver, version 2.0
>
> Maintained by Benjamin Herrenschmidt <[email-masked]>
>
> eth0: IBM emac, MAC 00:00:00:00:00:00
>
> eth0: Found Generic MII PHY (0x00)
>
> eth1: IBM emac, MAC 00:00:00:00:00:00
>
> eth1: Found Generic MII PHY (0x01)

Looks like your board platform file is not copying the MAC addresses into the 
ocp struct. Take a look at bubinga_setup_arch() in platforms/4xx/bubinga.c. 
Here ibm_ocp_set_emac() is used to copy the addresses.

Best regards,
Stefan