1. 01 May, 2019 34 commits
  2. 30 Apr, 2019 2 commits
  3. 28 Apr, 2019 4 commits
    • Heiner Kallweit's avatar
      net: phy: avoid unneeded MDIO reads in genphy_read_status · 88d6272a
      Heiner Kallweit authored
      Considering that in polling mode each link drop will be latched,
      settings can't have changed if link was up and is up.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      88d6272a
    • David S. Miller's avatar
      Merge branch 'dsa-tag-modules' · c1a92c0a
      David S. Miller authored
      Andrew Lunn says:
      
      ====================
      Make DSA tag drivers kernel modules
      
      Historically, DSA tag drivers have been compiled into the kernel as
      part of the DSA core. With the growing number of tag drivers, it makes
      sense to allow this driver code to be compiled as a module, and loaded
      on demand.
      
      v2
      --
      Move name to end of structure, keeping the hot entries at the beginning.
      More tag protocol to end of structure to keep hot members at the beginning.
      Fix indent of #endif
      Rewrite to move list pointer into a new structure
      void functions, since there cannot be errors
      Fix fall-through comment
      Reorder patch for unused symbols to before tag drivers can be modules
      tab/space cleanup
      Help text wording
      NET_DSA_TAG_BRCM_COMMON and NET_DSA_TAG_KZS_COMMON hidden
      
      v3
      --
      boilerplate: Move kdoc next to macro
      boilerplate: Fix THIS_MODULE indentation
      Kconfig: More tabification
      Kconfig: Punctuation
      
      v4
      --
      Cover note {H}istorically
      Kconfig: trailer
      ====================
      Tested-by: default avatarVivien Didelot <vivien.didelot@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c1a92c0a
    • Andrew Lunn's avatar
      dsa: Allow tag drivers to be built as modules · 0b9f9dfb
      Andrew Lunn authored
      Make the CONFIG symbols tristate and add help text.
      
      The broadcom and Microchip KSZ tag drivers support two different
      tagging protocols in one driver. Add a configuration option for the
      drivers, and then options to select the protocol.
      
      Create a submenu for the tagging drivers.
      Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
      
      v2:
      tab/space cleanup
      Help text wording
      NET_DSA_TAG_BRCM_COMMON and NET_DSA_TAG_KZS_COMMON hidden
      
      v3:
      More tabification
      Punctuation
      
      v4:
      trailler->trailer
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0b9f9dfb
    • Andrew Lunn's avatar
      dsa: tag_brcm: Avoid unused symbols · 3aa475e1
      Andrew Lunn authored
      It is possible that the driver is compiled with both
      CONFIG_NET_DSA_TAG_BRCM and CONFIG_NET_DSA_TAG_BRCM_PREPEND disabled.
      This results in warnings about unused symbols. Add some conditional
      compilation to avoid this.
      Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      
      v2
      Reorder patch to before tag drivers can be modules
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3aa475e1