1. 13 7月, 2019 1 次提交
  2. 09 7月, 2019 1 次提交
  3. 16 6月, 2019 2 次提交
  4. 15 6月, 2019 2 次提交
  5. 10 6月, 2019 4 次提交
  6. 07 6月, 2019 1 次提交
  7. 06 6月, 2019 1 次提交
  8. 05 6月, 2019 1 次提交
  9. 04 6月, 2019 1 次提交
    • R
      net: sfp: read eeprom in maximum 16 byte increments · 28e74a7c
      Russell King 提交于
      Some SFP modules do not like reads longer than 16 bytes, so read the
      EEPROM in chunks of 16 bytes at a time.  This behaviour is not specified
      in the SFP MSAs, which specifies:
      
       "The serial interface uses the 2-wire serial CMOS E2PROM protocol
        defined for the ATMEL AT24C01A/02/04 family of components."
      
      and
      
       "As long as the SFP+ receives an acknowledge, it shall serially clock
        out sequential data words. The sequence is terminated when the host
        responds with a NACK and a STOP instead of an acknowledge."
      
      We must avoid breaking a read across a 16-bit quantity in the diagnostic
      page, thankfully all 16-bit quantities in that page are naturally
      aligned.
      Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      28e74a7c
  10. 01 6月, 2019 5 次提交
  11. 31 5月, 2019 4 次提交
  12. 30 5月, 2019 15 次提交
  13. 27 5月, 2019 2 次提交