1. 23 8月, 2013 2 次提交
    • P
      r8169: fix invalid register dump · 15edae91
      Peter Wu 提交于
      For some reason, my PCIe RTL8111E onboard NIC on a GA-Z68X-UD3H-B3
      motherboard reads as FFs when reading from MMIO with a block size
      larger than 7. Therefore change to reading blocks of four bytes.
      
      Ben Hutchings noted that the buffer is large enough to hold all
      registers, so now all registers are read.
      Signed-off-by: NPeter Wu <lekensteyn@gmail.com>
      Acked-by: NFrancois Romieu <romieu@fr.zoreil.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      15edae91
    • D
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · cb79abc7
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates
      
      This series contains updates to igb and e1000e.
      
      Akeem provides 3 igb patches, the first resets the link when EEE is enabled
      or disabled if the link is up.  His second patch changes a register read
      which normally stores of the read value to "just-read" so that hardware
      can accurately latch the register read.  Lastly, he adds rcu_lock to avoid
      a possible race condition with igb_update_stats function.
      
      Mitch provides a fix for SR-IOV, where MSI-X interrupts are required, so
      make sure that MSI-X is enabled before allowing the user to turn on SR-IOV.
      
      Alex's igb patch make it so that we limit the lower bound for max_frame_size
      to the size of a standard Ethernet frame.  This allows for feature parity
      with other Intel based drivers such as ixgbe.
      
      Carolyn adds a SKU for a flashless i210 device and a fix for get_fw_version()
      so that it works for all parts for igb.  In addition, she has 2 igb patches
      to refactor NVM code to accommodate devices with no flash.  Lastly, she
      adds code to check for the failure of pci_disable_link_state() to attempt
      to work around a problem found with some systems.
      
      Laura provides the remaining 2 igb patches.  One removing the hard-coded
      value for the size of the RETA indirection table, and creates a macro instead
      for the RETA indirection table.  The second adds the ethtool callbacks
      necessary to change the RETA indirection table from userspace.
      
      Bruce fixes a whitespace issue in a recent commit and resolves a jiffies
      comparison warning by using time_after().
      
      Li provides a fix for e1000e to avoid a kernel crash on shutdown by adding
      one more check in e1000e_shutdown().  This is due to e1000e_shutdown()
      trying to clear correctable errors on the upstream P2P bridge, when under
      some cases we do not have the upstream P2P bridge.
      
      v2:
       - fixed patch 11 conditional statement from < to <= based on feedback
         from Ben Hutchings
       - fixed patch 12 patch description (adding the commit summary) based
         on feedback from Sergei Shtylyov
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cb79abc7
  2. 22 8月, 2013 38 次提交