1. 30 11月, 2012 1 次提交
  2. 27 11月, 2012 1 次提交
  3. 24 11月, 2012 1 次提交
  4. 21 11月, 2012 1 次提交
  5. 20 11月, 2012 1 次提交
    • S
      of/net/mdio-gpio: Fix pdev->id issue when using devicetrees. · 3272dd9b
      Srinivas Kandagatla 提交于
      When the mdio-gpio driver is probed via device trees, the platform
      device id is set as -1, However the pdev->id is re-used as bus-id for
      while creating mdio gpio bus.
      So
      For device tree case the mdio-gpio bus name appears as "gpio-ffffffff"
      where as
      for non-device tree case the bus name appears as "gpio-<bus-num>"
      
      Which means the bus_id is fixed in device tree case, so we can't have
      two mdio gpio buses via device trees. Assigning a logical bus number
      via device tree solves the problem and the bus name is much consistent
      with non-device tree bus name.
      
      Without this patch
      1. we can't support two mdio-gpio buses via device trees.
      2. we should always pass gpio-ffffffff as bus name to phy_connect, very
      different to non-device tree bus name.
      
      So, setting up the bus_id via aliases from device tree is the right
      solution and other drivers do similar thing.
      Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3272dd9b
  6. 17 11月, 2012 2 次提交
  7. 16 11月, 2012 1 次提交
  8. 15 11月, 2012 1 次提交
  9. 14 11月, 2012 1 次提交
  10. 10 11月, 2012 2 次提交
  11. 08 11月, 2012 2 次提交
  12. 07 11月, 2012 1 次提交
  13. 02 11月, 2012 4 次提交
  14. 30 10月, 2012 1 次提交
  15. 26 10月, 2012 5 次提交
  16. 25 10月, 2012 2 次提交
  17. 23 10月, 2012 1 次提交
  18. 22 10月, 2012 1 次提交
  19. 18 10月, 2012 1 次提交
  20. 17 10月, 2012 3 次提交
  21. 15 10月, 2012 3 次提交
  22. 11 10月, 2012 1 次提交
  23. 10 10月, 2012 3 次提交