1. 12 6月, 2015 8 次提交
  2. 10 6月, 2015 2 次提交
  3. 09 6月, 2015 26 次提交
  4. 08 6月, 2015 4 次提交
    • D
      Merge branch 'phy-micrel' · 65080602
      David S. Miller 提交于
      Jaeden Amero says:
      
      ====================
      net/phy: micrel: Center FLP timing at 16ms
      
      In v2, we add an additional cleanup commit to make an array of strings
      static const and to improve const correctness generally. We also no longer
      unnecessarily initialize the result variable in
      ksz9031_center_flp_timing().
      
      In v3, we remove the unnecessary result variable from ksz9031_config_init()
      introduced by a previous version of "net/phy: micrel: Center FLP timing at
      16ms".
      
      In v4, we modify the commit message of "net/phy: micrel: Center FLP timing
      at 16ms" to replace the awkward quotation of the data sheet's programming
      procedure with an explanation of why we program the FLP burst registers and
      restart auto-negotiation where we do (config_init).
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      65080602
    • J
      net/phy: micrel: Center FLP timing at 16ms · 6270e1ae
      Jaeden Amero 提交于
      Link failures have been observed when using the KSZ9031 with HP 1810-8G
      and HP 1910-8G network switches. Center the FLP timing at 16ms to help
      avoid intermittent link failures.
      
      >From the KSZ9031RNX and KSZ9031MNX data sheets revision 2.2, section
      "Auto-Negotiation Timing":
      	The KSZ9031[RNX or MNX] Fast Link Pulse (FLP) burst-to-burst
      	transmit timing for Auto-Negotiation defaults to 8ms. IEEE 802.3
      	Standard specifies this timing to be 16ms +/-8ms. Some PHY link
      	partners need to receive the FLP with 16ms centered timing;
      	otherwise, there can be intermittent link failures and long
      	link-up times.
      
      The PHY data sheet recommends configuring the FLP burst registers after
      power-up/reset and immediately thereafter restarting auto-negotiation, so
      we center the FLP timing at 16ms and then restart auto-negotiation in the
      config_init for KSZ9031.
      Signed-off-by: NJaeden Amero <jaeden.amero@ni.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6270e1ae
    • J
      net/phy: micrel: Comment MMD address of extended registers · ae6c97bb
      Jaeden Amero 提交于
      There are some defines for a few pad skew related extended registers.
      Specify for which MMD Address (dev_addr) they are for.
      Signed-off-by: NJaeden Amero <jaeden.amero@ni.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ae6c97bb
    • J
      net/phy: micrel: Be more const correct · 3c9a9f7f
      Jaeden Amero 提交于
      In a few places in this driver, we weren't using const where we could
      have. Use const more.
      
      In addition, change the arrays of strings in ksz9031_config_init() to be
      not only const, but also static.
      Signed-off-by: NJaeden Amero <jaeden.amero@ni.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3c9a9f7f