1. 13 3月, 2017 1 次提交
  2. 13 2月, 2017 2 次提交
  3. 11 2月, 2017 1 次提交
  4. 10 2月, 2017 1 次提交
  5. 07 2月, 2017 3 次提交
  6. 31 1月, 2017 2 次提交
  7. 30 1月, 2017 1 次提交
  8. 25 1月, 2017 4 次提交
  9. 21 1月, 2017 1 次提交
  10. 14 1月, 2017 1 次提交
  11. 06 1月, 2017 1 次提交
  12. 07 12月, 2016 2 次提交
  13. 04 12月, 2016 9 次提交
  14. 25 11月, 2016 1 次提交
  15. 22 11月, 2016 7 次提交
  16. 21 11月, 2016 1 次提交
  17. 05 11月, 2016 2 次提交
    • V
      net: dsa: mv88e6xxx: add port's MAC speed setter · 96a2b40c
      Vivien Didelot 提交于
      While the two bits for link, duplex or RGMII delays are used the same
      way on chips supporting the said feature, the two bits for speed have
      different meaning for most of the chips out there.
      
      Speed value is stored in bits 1:0, 0x3 means unforce (normal detection).
      
      Some chips reuse values for alternative speeds when bit 12 is set.
      
      Newer chips with speed > 1Gbps reuse value 0x3 thus need a new bit 13.
      
      Here are the values to write in register 0x1 to (un)force speed:
      
          | Speed   | 88E6065 | 88E6185 | 88E6352 | 88E6390 | 88E6390X |
          | ------- | ------- | ------- | ------- | ------- | -------- |
          | 10      | 0x0000  | 0x0000  | 0x0000  | 0x2000  | 0x2000   |
          | 100     | 0x0001  | 0x0001  | 0x0001  | 0x2001  | 0x2001   |
          | 200     | 0x0002  | NA      | 0x1001  | 0x3001  | 0x3001   |
          | 1000    | NA      | 0x0002  | 0x0002  | 0x2002  | 0x2002   |
          | 2500    | NA      | NA      | NA      | 0x3003  | 0x3003   |
          | 10000   | NA      | NA      | NA      | NA      | 0x2003   |
          | unforce | 0x0003  | 0x0003  | 0x0003  | 0x0000  | 0x0000   |
      
      This patch implements a generic mv88e6xxx_port_set_speed() function used
      by chip-specific wrappers to filter supported ports and speeds.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      96a2b40c
    • V
      net: dsa: mv88e6xxx: add port's RGMII delay setter · a0a0f622
      Vivien Didelot 提交于
      Some chips such as 88E6352 and 88E6390 can be programmed to add delays
      to RXCLK for IND inputs or to GTXCLK for OUTD outputs when port is in
      RGMII mode.
      
      Add a port function to program such delays according to the provided PHY
      interface mode.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a0a0f622