1. 03 8月, 2017 1 次提交
    • N
      lan78xx: USB fast connect/disconnect crash fix · fb52c3b5
      Nisar Sayed 提交于
      USB fast connect/disconnect crash fix
      
      When USB plugged/unplugged at fast rate,
      lan78xx_mdio_init() in lan78xx_bind() failing case is not handled.
      Whenever  lan78xx_mdio_init() failed, dev->mdiobus will be freed, however
      since lan78xx_bind() not consider as error and try to proceed for
      further initialization in lan78xx_probe() which leads system hung/crash.
      Also when register_netdev() failed, netdev is freed without calling lan78xx_unbind().
      Hence halting the failed cases right manner fixes the system crash/hung issue.
      Signed-off-by: NNisar Sayed <Nisar.Sayed@microchip.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fb52c3b5
  2. 02 8月, 2017 11 次提交
  3. 01 8月, 2017 6 次提交
  4. 30 7月, 2017 3 次提交
  5. 28 7月, 2017 1 次提交
    • A
      net: phy: rework Kconfig settings for MDIO_BUS · 4c3464a8
      Arnd Bergmann 提交于
      I still see build errors in randconfig builds and have had this
      patch for a while to locally work around it:
      
      drivers/built-in.o: In function `xgene_mdio_probe':
      mux-core.c:(.text+0x352154): undefined reference to `of_mdiobus_register'
      mux-core.c:(.text+0x352168): undefined reference to `mdiobus_free'
      mux-core.c:(.text+0x3521c0): undefined reference to `mdiobus_alloc_size'
      
      The idea is that CONFIG_MDIO_BUS now reflects whether the mdio_bus
      code is built-in or a module, and other drivers that use the core
      code can simply depend on that, instead of having a complex
      dependency line.
      
      Fixes: 90eff909 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4c3464a8
  6. 27 7月, 2017 16 次提交
  7. 26 7月, 2017 2 次提交