1. 29 9月, 2017 1 次提交
    • F
      net: dsa: Fix network device registration order · e804441c
      Florian Fainelli 提交于
      We cannot be registering the network device first, then setting its
      carrier off and finally connecting it to a PHY, doing that leaves a
      window during which the carrier is at best inconsistent, and at worse
      the device is not usable without a down/up sequence since the network
      device is visible to user space with possibly no PHY device attached.
      
      Re-order steps so that they make logical sense. This fixes some devices
      where the port was not usable after e.g: an unbind then bind of the
      driver.
      
      Fixes: 0071f56e ("dsa: Register netdev before phy")
      Fixes: 91da11f8 ("net: Distributed Switch Architecture protocol support")
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e804441c
  2. 06 9月, 2017 1 次提交
  3. 12 8月, 2017 1 次提交
  4. 08 8月, 2017 14 次提交
  5. 07 8月, 2017 1 次提交
  6. 05 8月, 2017 1 次提交
  7. 03 8月, 2017 1 次提交
  8. 02 8月, 2017 4 次提交
  9. 14 6月, 2017 5 次提交
  10. 08 6月, 2017 1 次提交
  11. 02 6月, 2017 1 次提交
  12. 31 5月, 2017 1 次提交
  13. 23 5月, 2017 8 次提交