1. 31 Mar, 2013 1 commit
    • Sergei Shtylyov's avatar
      sh_eth: fix handling of no LINK signal · 1e1b812b
      Sergei Shtylyov authored
      The code handling the absent LINK signal (or the absent PSR register -- which
      reflects the state of this signal) is quite naive and has probably never really
      worked.  It's probably enough to say that this code is executed only on the LINK
      change interrupt (sic!) but even if we actually have the signal and choose to
      ignore it (it might be connected to PHY's link/activity LED output as on the
      Renesas BOCK-W board), sh_eth_adjust_link() on which this code relies to update
      'mdp->link' gets executed later than the LINK change interrupt where it is
      checked, and so RX/TX never get enabled via ECMR register.
      
      So, ignore the LINK changed interrupt iff LINK signal is absent (or just chosen
      not to be used) or PSR register is absent, and enable/disable RX/TX directly in
      sh_eth_adjust_link() in this case.
      Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1e1b812b
  2. 29 Mar, 2013 14 commits
  3. 28 Mar, 2013 3 commits
    • David S. Miller's avatar
      Merge branch 'wireless' · d2aa8eec
      David S. Miller authored
      John W. Linville says:
      
      ====================
      Please excuse this larger-than-I-would-like pull request intended
      for the 3.9 stream.  There are a number of late-breaking fixes,
      including a revert...
      
      Regarding the mac80211 bits, Johannes says:
      
      "I have two tracing fixes (one from Vladimir), two fixes for P2P device
      crashes, a fix for a BSS memory leak/lost update problem and a fix from
      Ben for a scanning issue in mac80211. It's a little on the large side
      because one of the P2P device problems required a bit much locking work,
      but I've run through all the different scenarios (wext/nl80211,
      p2p-device/station interface, ifdown/rfkill) to verify locking with
      lockdep."
      
      As for the iwlwifi bits, Johannes says:
      
      "I have three little fixes to the driver from Emmanuel. One addresses a
      small bug Ben Hutchings found during the stable review process and two
      address some warnings in the driver when RF-Kill is asserted."
      
      Along with those...
      
      Avinash Patil fixes an mwifiex bug cause by failing to process a sleep
      command due to bad SKB manipulation when going into power saving mode.
      
      Colin Ian King avoids a null pointer dereference in iwl4965.
      
      Dan Williams officially announces that he has dropped maintainership
      of the libertas driver.
      
      Iestyn C. Elfick adds a work-around to avoid b43 DMA transmision
      sequence error that would lead to a device reset.
      
      Luis R. Rodriguez avoids an ath9k warning by not queueing a work item
      while going to suspend mode.
      
      Rafał Miłecki provides a pair of b43 N-PHY fixes related to RSSI
      calibration.
      
      Finally, I revert "brcmsmac: support 4313iPA" because it has been
      reported in many places to cause problems with the already supported
      4313ePA devices.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d2aa8eec
    • John W. Linville's avatar
      Merge branch 'master' of... · 630a216d
      John W. Linville authored
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
      630a216d
    • Eric Dumazet's avatar
      aoe: reserve enough headroom on skbs · 91c57464
      Eric Dumazet authored
      Some network drivers use a non default hard_header_len
      
      Transmitted skb should take into account dev->hard_header_len, or risk
      crashes or expensive reallocations.
      
      In the case of aoe, lets reserve MAX_HEADER bytes.
      
      David reported a crash in defxx driver, solved by this patch.
      Reported-by: default avatarDavid Oostdyk <daveo@ll.mit.edu>
      Tested-by: default avatarDavid Oostdyk <daveo@ll.mit.edu>
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Ed Cashin <ecashin@coraid.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      91c57464
  4. 27 Mar, 2013 22 commits