1. 15 2月, 2018 1 次提交
    • B
      net: dsa: mv88e6xxx: add accessors for PTP/TAI registers · 0d632c3d
      Brandon Streiff 提交于
      This patch implements support for accessing the Precision Time Protocol
      and Time Application Interface registers via the AVB register interface
      in the Global 2 register.
      
      The register interface differs slightly between different models; older
      models use a 3-bit operations field, while newer models use a 2-bit
      field. The operations values and the special "global port" values are
      different between the two. This is a similar split to the differences
      in the "Ingress Rate" register between models, so, like in that case,
      we call the two variants "6352" and "6390" and create an ops structure
      to abstract between the two.
      
      checkpatch fixups by Andrew Lunn
      Signed-off-by: NBrandon Streiff <brandon.streiff@ni.com>
      Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0d632c3d
  2. 20 1月, 2018 1 次提交
  3. 15 1月, 2018 2 次提交
  4. 08 12月, 2017 3 次提交
  5. 06 12月, 2017 4 次提交
  6. 03 12月, 2017 2 次提交
  7. 13 11月, 2017 1 次提交
  8. 11 11月, 2017 5 次提交
  9. 27 10月, 2017 2 次提交
  10. 18 10月, 2017 2 次提交
  11. 15 10月, 2017 1 次提交
    • V
      net: dsa: mv88e6xxx: setup random mac address · 04a69a17
      Vivien Didelot 提交于
      An Ethernet switch may support having a MAC address, which can be used
      as the switch's source address in transmitted full-duplex Pause frames.
      
      If a DSA switch supports the related .set_addr operation, the DSA core
      sets the master's MAC address on the switch. This won't make sense
      anymore in a multi-CPU ports system, because there won't be a unique
      master device assigned to a switch tree.
      
      Instead, setup the switch from within the Marvell driver with a random
      MAC address, and remove the .set_addr implementation.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      04a69a17
  12. 29 9月, 2017 2 次提交
  13. 21 8月, 2017 1 次提交
  14. 08 8月, 2017 5 次提交
  15. 02 8月, 2017 5 次提交
  16. 25 7月, 2017 1 次提交
  17. 20 7月, 2017 1 次提交
  18. 19 7月, 2017 1 次提交