1. 24 9月, 2011 16 次提交
  2. 23 9月, 2011 14 次提交
  3. 22 9月, 2011 10 次提交
    • F
      r8169: jumbo fixes. · d58d46b5
      Francois Romieu 提交于
      - fix features : jumbo frames and checksumming can not be used at the
        same time.
      
      - introduce hw_jumbo_{enable / disable} helpers. Their content has been
        creatively extracted from Realtek's own drivers. As an illustration,
        it would be nice to know how/if the MaxTxPacketSize register operates
        when the device can work with a 9k jumbo frame as its documentation
        (8168c) can not be applied beyond ~7k.
      
      - rtl_tx_performance_tweak is moved forward. No change.
      Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
      d58d46b5
    • F
      r8169: expand received packet length indication. · deb9d93c
      Francois Romieu 提交于
      8168d and above allow jumbo frames beyond 8k. Bump the received
      packet length check before enabling jumbo frames on these chipsets.
      
      Frame length indication covers bits 0..13 of the first Rx descriptor
      32 bits for the 8169 and 8168. I only have authoritative documentation
      for the allowed use of the extra (13) bit with the 8169 and 8168c.
      Realtek's drivers use the same mask for the 816x and the fast ethernet
      only 810x.
      Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
      deb9d93c
    • H
      r8169: support new chips of RTL8111F · c2218925
      Hayes Wang 提交于
      Support new chips of RTL8111F.
      Signed-off-by: NHayes Wang <hayeswang@realtek.com>
      c2218925
    • H
      r8169: define the early size for 8111evl · 3090bd9a
      Hayes Wang 提交于
      For RTL8111EVL, the register of MaxTxPacketSize doesn't acctually
      limit the tx size. It influnces the feature of early tx.
      Signed-off-by: NHayes Wang <hayeswang@realtek.com>
      3090bd9a
    • D
      Merge branch 'master' of github.com:davem330/net · 8decf868
      David S. Miller 提交于
      Conflicts:
      	MAINTAINERS
      	drivers/net/Kconfig
      	drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
      	drivers/net/ethernet/broadcom/tg3.c
      	drivers/net/wireless/iwlwifi/iwl-pci.c
      	drivers/net/wireless/iwlwifi/iwl-trans-tx-pcie.c
      	drivers/net/wireless/rt2x00/rt2800usb.c
      	drivers/net/wireless/wl12xx/main.c
      8decf868
    • R
      bna: PCI Probe Conf Lock Fix · 3fc72370
      Rasesh Mody 提交于
      If register_netdev() fails now, then we call mutex_unlock(&bnad->conf_mutex);
      on the error path, but it's already unlocked. So we acquire the lock in error
      path which will be later unlocked after the cleanup.
      Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3fc72370
    • D
      b7a17c0d
    • L
      Linux 3.1-rc7 · d93dc5c4
      Linus Torvalds 提交于
      d93dc5c4
    • L
      XZ: Fix incorrect XZ_BUF_ERROR · 9c1f8594
      Lasse Collin 提交于
      xz_dec_run() could incorrectly return XZ_BUF_ERROR if all of the
      following was true:
      
       - The caller knows how many bytes of output to expect and only provides
         that much output space.
      
       - When the last output bytes are decoded, the caller-provided input
         buffer ends right before the LZMA2 end of payload marker.  So LZMA2
         won't provide more output anymore, but it won't know it yet and thus
         won't return XZ_STREAM_END yet.
      
       - A BCJ filter is in use and it hasn't left any unfiltered bytes in the
         temp buffer.  This can happen with any BCJ filter, but in practice
         it's more likely with filters other than the x86 BCJ.
      
      This fixes <https://bugzilla.redhat.com/show_bug.cgi?id=735408> where
      Squashfs thinks that a valid file system is corrupt.
      
      This also fixes a similar bug in single-call mode where the uncompressed
      size of a block using BCJ + LZMA2 was 0 bytes and caller provided no
      output space.  Many empty .xz files don't contain any blocks and thus
      don't trigger this bug.
      
      This also tweaks a closely related detail: xz_dec_bcj_run() could call
      xz_dec_lzma2_run() to decode into temp buffer when it was known to be
      useless.  This was harmless although it wasted a minuscule number of CPU
      cycles.
      Signed-off-by: NLasse Collin <lasse.collin@tukaani.org>
      Cc: stable <stable@kernel.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9c1f8594
    • L
      Merge git://github.com/davem330/net · e5b26a88
      Linus Torvalds 提交于
      * git://github.com/davem330/net: (27 commits)
        xfrm: Perform a replay check after return from async codepaths
        fib:fix BUG_ON in fib_nl_newrule when add new fib rule
        ixgbe: fix possible null buffer error
        tg3: fix VLAN tagging regression
        net: pxa168: Fix build errors by including interrupt.h
        netconsole: switch init_netconsole() to late_initcall
        gianfar: Fix overflow check and return value for gfar_get_cls_all()
        ppp_generic: fix multilink fragment MTU calculation (again)
        GRETH: avoid overwrite IP-stack's IP-frags checksum
        GRETH: RX/TX bytes were never increased
        ipv6: fix a possible double free
        b43: Fix beacon problem in ad-hoc mode
        Bluetooth: add support for 2011 mac mini
        Bluetooth: Add MacBookAir4,1 support
        Bluetooth: Fixed BT ST Channel reg order
        r8169: do not enable the TBI for anything but the original 8169.
        r8169: remove erroneous processing of always set bit.
        r8169: fix WOL setting for 8105 and 8111evl
        r8169: add MODULE_FIRMWARE for the firmware of 8111evl
        r8169: fix the reset setting for 8111evl
        ...
      e5b26a88