1. 02 1月, 2013 19 次提交
  2. 28 12月, 2012 1 次提交
  3. 27 12月, 2012 2 次提交
  4. 22 12月, 2012 1 次提交
  5. 20 12月, 2012 15 次提交
  6. 19 12月, 2012 2 次提交
    • S
      net: fec: forbid FEC_PTP on SoCs that do not support · c1e37ea2
      Shawn Guo 提交于
      Beside imx6q, the kernel built from imx_v6_v7_defconfig is also
      supposed to be running on other IMX SoCs that do not have the PTP
      block.  Before fec driver gets fixed to run-time detect target hardware
      rather than conditional compiling with #ifdef CONFIG_FEC_PTP, let's
      give it a quick fix in Kconfig to forbid FEC_PTP on those IMX SoCs that
      do not support PTP.
      Reported-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c1e37ea2
    • S
      be2net: fix wrong frag_idx reported by RX CQ · d23e946c
      Sathya Perla 提交于
      The RX CQ can report completions with invalid frag_idx when the RXQ that
      was *previously* using it, was not cleaned up properly. This hits
      a BUG_ON() in be2net.
      
      When completion coalescing is enabled on a CQ, an explicit CQ-notify
      (with rearm) is needed for each compl, to flush partially coalesced CQ
      entries that are pending DMA.
      
      In be_close(), this fix now notifies CQ for each compl, waits explicitly
      for the flush compl to arrive and complains if it doesn't arrive.
      
      Also renaming be_crit_error() to be_hw_error() as it's the more
      appropriate name and to convey that we don't wait for the flush compl
      only when a HW error has occurred.
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d23e946c