27 Aug, 2020

2 commits

  • This header file is currently included into the ethernet driver via a
    relative path into the PHY subsystem. This is bad practice, and causes
    issues for the upcoming move of the MDIO driver. Move the header file
    into include/linux to clean this up.

    v2:
    Move header to include/linux/mdio

    Reviewed-by: Florian Fainelli
    Signed-off-by: Andrew Lunn
    Signed-off-by: David S. Miller

    Andrew Lunn
     
  • In preparation for moving all MDIO drivers into drivers/net/mdio, move
    the mdio-i2c header file into include/linux/mdio so it can be used by
    both the MDIO driver and the SFP code which instantiates I2C MDIO
    busses.

    v2:
    Add include/linux/mdio

    Reviewed-by: Florian Fainelli
    Signed-off-by: Andrew Lunn
    Signed-off-by: David S. Miller

    Andrew Lunn