Problems with MII mode operation on 440GP ethernet

David Adair dadair at ariodata.com
Thu Nov 11 12:57:35 EST 2004


> 
> > I have a custom board with the same configuration (on 2.6). The
> > driver in that tree works in this configuration. FWIW, the port
> > also uses ocp calls to remove the three unused interfaces. In
> 
> This sounds reasonable to me -- OCP stays cpu generic but exact
> use is refined by the board port.
> 
> Can you give me any hints were to find the "ocp calls?"
> 

Ok, this was too dumb to let stand -- asm/ocp.h is pretty clear
and:

    /* Remove emac1 -- this board uses MII so there can only be one */
    ocp_remove_one_device(OCP_VENDOR_IBM, OCP_FUNC_EMAC, 1);

makes my board work without hacking up the ibm_emac driver.

Thanks again Matt.

David





More information about the Linuxppc-embedded mailing list