1. 13 1月, 2012 2 次提交
  2. 11 1月, 2012 3 次提交
  3. 04 1月, 2012 1 次提交
  4. 20 12月, 2011 1 次提交
  5. 27 11月, 2011 1 次提交
  6. 22 11月, 2011 1 次提交
  7. 17 11月, 2011 1 次提交
  8. 16 11月, 2011 1 次提交
  9. 01 11月, 2011 1 次提交
  10. 25 10月, 2011 3 次提交
  11. 20 10月, 2011 1 次提交
    • A
      phylib: Modify Vitesse RGMII skew settings · fddf86fc
      Andy Fleming 提交于
      The Vitesse driver was using the RGMII_ID interface type to determine if
      skew was necessary.  However, we want to move away from using that
      interface type, as it's really a property of the board's PHY connection.
      However, some boards depend on it, so we want to support it, while
      allowing new boards to use the more flexible "fixups" approach.  To do
      this, we extract the code which adds skew into its own function, and
      call that function when RGMII_ID has been selected.
      
      Another side-effect of this change is that if your PHY has skew set
      already, it doesn't clear it.  This way, the fixup code can modify the
      register without config_init then clearing it.
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fddf86fc
  12. 19 10月, 2011 1 次提交
  13. 01 10月, 2011 2 次提交
  14. 29 9月, 2011 1 次提交
  15. 28 9月, 2011 1 次提交
  16. 27 9月, 2011 2 次提交
  17. 21 9月, 2011 1 次提交
  18. 27 8月, 2011 2 次提交
  19. 08 8月, 2011 1 次提交
  20. 27 7月, 2011 1 次提交
  21. 17 6月, 2011 4 次提交
  22. 24 5月, 2011 2 次提交
  23. 30 4月, 2011 2 次提交
  24. 31 3月, 2011 1 次提交
  25. 30 3月, 2011 1 次提交
    • M
      phylib: phy_attach_direct: phy_init_hw can fail, add cleanup · d005a09e
      Marc Kleine-Budde 提交于
      The function phy_attach_direct attaches the phy and calls phy_init_hw.
      phy_init_hw can fail, but the phy is still marked as attached. Successive
      calls to phy_attach_direct will fail because the phy is busy.
      
      [    1.020000] eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:00, irq=-1)
      [    1.030000] eth1: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)
      [    2.050000] Sending DHCP requests .
      [    3.020000] PHY: 1:00 - Link is Up - 100/Full
      [    5.110000] ..... timed out!
      [   87.660000] IP-Config: Reopening network devices...
      [   88.190000] FEC: MDIO read timeout
      [   88.190000] eth0: could not attach to PHY
      [   88.190000] IP-Config: Failed to open eth0
      [   88.210000] FEC: MDIO read timeout
      [   88.210000] eth1: could not attach to PHY
      [   88.210000] IP-Config: Failed to open eth1
      [   88.220000] IP-Config: No network devices available.
      [   88.220000] Freeing init memory: 6968K
      
      [...]
      
      starting network interfaces...
      ip: RTNETLINK answers: File exists
      [   94.000000] net eth0: PHY already attached
      [   94.010000] eth0: could not attach to PHY
      ip: SIOCSIFFLAGS: Device or resource busy
      
      This patch adds phy_detach to clean up if phy_init_hw fails.
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d005a09e
  26. 15 3月, 2011 1 次提交
  27. 01 3月, 2011 1 次提交