11 Oct, 2012

1 commit

  • The !CONFIG_OF stubs aren't static so if multiple files include the
    header with this configuration then the linker will see multiple
    definitions of the stubs.

    Reported-by: Fengguang Wu
    Signed-off-by: Mark Brown
    Acked-by: Thomas Petazzoni
    Acked-by: Srinivas Kandagatla
    Signed-off-by: David S. Miller

    Mark Brown
     

31 Aug, 2012

1 commit


08 May, 2012

1 commit

  • Add of_mdio_find_bus() which allows an mii_bus to be located given its
    associated the device tree node.

    This is needed by the follow-on patch to add a driver for MDIO bus
    multiplexers.

    The of_mdiobus_register() function is modified so that the device tree
    node is recorded in the mii_bus. Then we can find it again by
    iterating over all mdio_bus_class devices.

    Because the OF device tree has now become an integral part of the
    kernel, this can live in mdio_bus.c (which contains the needed
    mdio_bus_class structure) instead of of_mdio.c.

    Signed-off-by: David Daney
    Cc: Grant Likely
    Cc: "David S. Miller"
    Signed-off-by: David S. Miller

    David Daney
     

23 Jul, 2009

1 commit

  • Fixed-link support is broken for the ucc_eth, gianfar, and fs_enet
    device drivers. The "OF MDIO rework" patches removed most of the
    support. Instead of re-adding fixed-link stuff to the drivers, this
    patch adds a support function for parsing the fixed-link property
    and obtaining a dummy phy to match.

    Note: the dummy phy handling in arch/powerpc is a bit of a hack and
    needs to be reworked. This function is being added now to solve the
    regression in the Ethernet drivers, but it should be considered a
    temporary measure until the fixed link handling can be reworked.

    Signed-off-by: Anton Vorontsov
    Signed-off-by: Grant Likely
    Signed-off-by: David S. Miller

    Anton Vorontsov
     

27 Apr, 2009

1 commit

  • Add support for parsing the device tree for PHY devices on an MDIO bus.
    Currently many of the PowerPC ethernet drivers are open coding a solution
    for reading data out of the device tree to find the correct PHY device.
    This patch implements a set of common routines to:

    a) let MDIO bus drivers register phy_devices described in the tree, and
    b) let MAC drivers find the correct phy_device via the tree.

    Signed-off-by: Grant Likely
    Acked-by: Andy Fleming
    Signed-off-by: David S. Miller

    Grant Likely