1. 01 5月, 2014 16 次提交
  2. 30 4月, 2014 2 次提交
    • F
      ath9k: remove tid->paused flag · 62e54dbb
      Felix Fietkau 提交于
      There are some corner cases where the driver could get stuck with a full
      tid queue that is paused, leading to a software tx queue hang.
      
      Since the tx queueing rework, pausing per-tid queues on aggregation
      session setup is no longer necessary. The driver will assign sequence
      numbers to buffered frames when a new session is established, in order
      to get the correct starting sequence number.
      
      mac80211 prevents new frames from entering the queue during setup.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      62e54dbb
    • F
      ath9k_hw: do not lower ANI setting below default on AR913x · ae9c25a1
      Felix Fietkau 提交于
      When the amount of noise fluctuates strongly, low immunity settings
      can sometimes disrupt signal detection on AR913x chips. When that
      happens, no OFDM/CCK errors are reported anymore, and ANI tunes the
      radio to the lowest immunity settings.
      Usually rx/tx fails as well in that case.
      
      To fix this, keep noise immunity settings at or above ANI default level,
      which will keep radio parameters at or above INI values.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ae9c25a1
  3. 29 4月, 2014 2 次提交
  4. 28 4月, 2014 15 次提交
  5. 27 4月, 2014 5 次提交
    • J
      i40e: fix Timesync Tx interrupt handler code · cafa1fca
      Jacob Keller 提交于
      This patch fixes the PTP Tx timestamp interrupt handler. The original
      code misinterpreted the interrupt handler design. We were clearing the
      ena_mask bit for the Timesync interrupts. This is done to indicate that
      the interrupt will be handled in a scheduled work item (instead of
      immediately) and that work item is responsible for re-enabling the
      interrupts. However, the Tx timestamp was being handled immediately and
      nothing was ever re-enabling it. This resulted in a single interrupt
      working for the life of the driver.
      
      This patch fixes the issue by instead clearing the bit from icr0 which
      is used to indicate that the interrupt was immediately handled and can
      be re-enabled right away. This patch also clears up a related issue due
      to writing the PRTTSYN_STAT_0 register, which was unintentionally
      clearing the cause bits for Timesync interrupts.
      
      Change-ID: I057bd70d53c302f60fab78246989cbdfa469d83b
      Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
      Acked-by: NAnjali Singhai Jain <anjali.singhai@intel.com>
      Acked-by: NShannon Nelson <shannon.nelson@intel.com>
      Tested-by: NKavindya Deegala <kavindya.s.deegala@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cafa1fca
    • D
      Merge tag 'linux-can-fixes-for-3.15-20140424' of git://gitorious.org/linux-can/linux-can · 69d268b7
      David S. Miller 提交于
      Marc Kleine-Budde says:
      
      ====================
      this is a pull request for net/master, for the v3.15 release cycle, consisting
      of 26 patches.
      
      Thomas Gleixner contributes 21 patches for the c_can driver, which address
      several shortcomings in the driver like hardware initialisation, concurrency,
      message ordering and poor performance. Two patches Oliver Hartkopp, one adds a
      missing lock to the sja1000_isa driver, the other one fixes the return value in
      the generic bit time configuration function. And finally a patch by Alexander
      Stein, that fixes the slcan driver to use the correct spinlock variant.
      
      To make it 26 patches, Wolfgang Grandegger patch for the c_can_pci
      driver, which enables the bus master only for MSI and a patch by
      Wolfram Sang, which converts the 'instance' in the c_can driver to the
      proper type.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      69d268b7
    • D
      Merge branch 'altera_tse' · 2b24f192
      David S. Miller 提交于
      Vince Bridgers says:
      
      ====================
      This series of patches addresses a handful of issues found in testing
      and reported by users of the Altera Triple Speed Ethernet soft IP.
      
      The patches address the following issues (in summary)
      
      1) The SGDMA soft IP was found to incorrectly process receive packets
         when the target physical address of the receive buffer was on
         a boundary that's not 32-bit aligned. One of the patches addresses
         this issue.
      2) The pause quanta was not being set by the driver, one patch of this
         series sets the pause quanta to the IEEE defined default value
         since the hardware reset value is 0.
      3) An issue in a error recovery path of the probe routine caused a
         kernel panic in the event a phy was probed and could not be found.
         A patch addresses this issue.
      4) A change was made to the driver name for Ethtool support, and
         comments added to support an addition to Ethtool to support
         the Altera Triple Speed Ethernet controller.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2b24f192
    • V
      Altera TSE: Change driver name used by Ethtool · 99514e11
      Vince Bridgers 提交于
      This patch changes the name used by Ethtool to something more
      conventional in preparation for TSE Ethtool register dump
      support to be added in the near future.
      Signed-off-by: NVince Bridgers <vbridgers2013@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      99514e11
    • V
      Altera TSE: Fix Panic in probe routine when phy probe fails · a7642009
      Vince Bridgers 提交于
      This patch addresses a fault in the error recovery path of the probe
      routine where the netdev structure was not being unregistered properly
      leading to a panic only when the phy probe failed.
      
      Abbreviated panic stack seen is as follows:
      
      (free_netdev+0xXX) from (altera_tse_probe+0xXX)
      (altera_tse_probe+0xXX) from (platform_drv_probe+0xXX)
      (platform_drv_probe+0xXX) from (driver_probe_device+0xXX)
      (driver_probe_device+0xXX) from (__driver_attach+0xXX)
      (__driver_attach+0xXX) from (bus_for_each_dev+0xXX)
      (bus_for_each_dev+0xXX) from (driver_attach+0xXX)
      (driver_attach+0xXX) from (bus_add_driver+0xXX)
      (bus_add_driver+0xXX) from (driver_register+0xXX)
      (driver_register+0xXX) from (__platform_driver_register+0xXX)
      (__platform_driver_register+0xXX) from (altera_tse_driver_init+0xXX)
      (altera_tse_driver_init+0xXX) from (do_one_initcall+0xXX)
      (do_one_initcall+0xXX) from (kernel_init_freeable+0xXX)
      (kernel_init_freeable+0xXX) from (kernel_init+0xXX)
      (kernel_init+0xXX) from (ret_from_fork+0xXX)
      Signed-off-by: NVince Bridgers <vbridgers2013@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a7642009