emac driver broken in 2.6.12.2 ?

Stefan Roese sr at denx.de
Mon Sep 19 23:51:43 EST 2005


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 <benh at kernel.crashing.org>
>
> 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



More information about the Linuxppc-embedded mailing list