01 Nov, 2011

1 commit


27 Jul, 2011

2 commits

  • The patch extends 'enum phy_interface_t' and of_get_phy_mode a little
    bit with PHY_INTERFACE_MODE_NA and PHY_INTERFACE_MODE_SMII added,
    and then converts ibm_newemac net driver to use of_get_phy_mode
    getting phy mode from device tree.

    It also resolves the namespace conflict on phy_read/write between
    common mdiobus interface and ibm_newemac private one.

    Signed-off-by: Shawn Guo
    Cc: David S. Miller
    Cc: Grant Likely
    Acked-by: Grant Likely
    Acked-by: David Miller

    Shawn Guo
     
  • It adds the helper function of_get_phy_mode getting phy interface
    from device tree.

    Signed-off-by: Shawn Guo
    Cc: Grant Likely
    Acked-by: Grant Likely
    Acked-by: David Miller

    Shawn Guo
     

01 Nov, 2010

1 commit

  • There are two identical implementations of of_get_mac_address(), one
    each in arch/powerpc/kernel/prom_parse.c and
    arch/microblaze/kernel/prom_parse.c. Move this function to a new
    common file of_net.{c,h} and adjust all the callers to include the new
    header.

    Signed-off-by: David Daney
    [grant.likely@secretlab.ca: protect header with #ifdef]
    Signed-off-by: Grant Likely

    David Daney