1. 28 2月, 2019 1 次提交
  2. 04 1月, 2019 2 次提交
  3. 02 1月, 2019 1 次提交
  4. 01 1月, 2019 1 次提交
  5. 28 12月, 2018 2 次提交
  6. 24 12月, 2018 1 次提交
  7. 22 12月, 2018 1 次提交
  8. 21 12月, 2018 5 次提交
  9. 19 12月, 2018 3 次提交
  10. 18 12月, 2018 5 次提交
  11. 16 12月, 2018 2 次提交
  12. 14 12月, 2018 3 次提交
  13. 13 12月, 2018 5 次提交
  14. 12 12月, 2018 5 次提交
  15. 11 12月, 2018 1 次提交
  16. 09 12月, 2018 1 次提交
    • A
      net: phy: mdio-gpio: Add platform_data support for phy_mask · 04fa26ba
      Andrew Lunn 提交于
      It is sometimes necessary to instantiate a bit-banging MDIO bus as a
      platform device, without the aid of device tree.
      
      When device tree is being used, the bus is not scanned for devices,
      only those devices which are in device tree are probed. Without device
      tree, by default, all addresses on the bus are scanned. This may then
      find a device which is not a PHY, e.g. a switch. And the switch may
      have registers containing values which look like a PHY. So during the
      scan, a PHY device is wrongly created.
      
      After the bus has been registered, a search is made for
      mdio_board_info structures which indicates devices on the bus, and the
      driver which should be used for them. This is typically used to
      instantiate Ethernet switches from platform drivers.  However, if the
      scanning of the bus has created a PHY device at the same location as
      indicated into the board info for a switch, the switch device is not
      created, since the address is already busy.
      
      This can be avoided by setting the phy_mask of the mdio bus. This mask
      prevents addresses on the bus being scanned.
      
      v2
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      04fa26ba
  17. 07 12月, 2018 1 次提交