1. 28 10月, 2021 9 次提交
  2. 27 10月, 2021 30 次提交
  3. 26 10月, 2021 1 次提交
    • D
      Merge branch 'phy-supported-interfaces-bitmap' · 4d2af64b
      David S. Miller 提交于
      Russell King says:
      
      ====================
      Introduce supported interfaces bitmap
      
      This series introduces a new bitmap to allow us to indicate which
      phy_interface_t modes are supported.
      
      Currently, phylink will call ->validate with PHY_INTERFACE_MODE_NA to
      request all link mode capabilities from the MAC driver before choosing
      an interface to use. This leads in some cases to some rather hairly
      code. This can be simplified if phylink is aware of the interface modes
      that  the MAC supports, and it can instead walk those modes, calling
      ->validate for each one, and combining the results.
      
      This series merely introduces the support; there is no change of
      behaviour until MAC drivers populate their supported_interfaces bitmap.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4d2af64b