1. 30 12月, 2009 1 次提交
  2. 24 11月, 2009 1 次提交
  3. 19 11月, 2009 1 次提交
    • M
      b43: Enforce DMA descriptor memory constraints · 9bd568a5
      Michael Buesch 提交于
      Enforce all device constraints on the descriptor memory region.
      
      There are several constraints on the descriptor memory, as documented
      in the specification. The current code does not enforce them and/or
      incorrectly enforces them.
      
      Those constraints are:
      - The address limitations on 30/32bit engines, that also apply to
        the skbs.
      - The 4k alignment requirement on 30/32bit engines.
      - The 8k alignment requirement on 64bit engines.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9bd568a5
  4. 09 9月, 2009 1 次提交
  5. 28 2月, 2009 2 次提交
    • M
      b43: Optimize DMA buffers · bdceeb2d
      Michael Buesch 提交于
      In the old days we used one slot per frame. But when we changed that to 2,
      we didn't raise the overall slot count. Which resulted in an effective
      division of two to the number of slots.
      
      Double the number of TX slots, so we have an effective hardware queue
      of 128 frames per QoS queue.
      
      Also optimize the TX header cache handling. We don't need a cached TX header
      for slots that will never carry an actual header.
      So we reduce the memory consumption of the cache by 50%.
      
      So as a net result we end up with more or less the same memory usage before
      and after this patch (except a few tiny meta structures), but have twice
      the number of TX slots available.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      bdceeb2d
    • M
      b43: Fix DMA buffer size handling · 8eccb53f
      Michael Buesch 提交于
      This fixes hidden bugs in the size handling of the DMA buffers.
      This sets the RX buffer size to the theoretical max packet size and
      fixes passing of the size values to the device (must not subtract the header offset).
      
      These bugs are hidden and don't actually trigger due to the magic +100
      offset for the buffer size.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8eccb53f
  6. 22 5月, 2008 1 次提交
  7. 09 4月, 2008 1 次提交
    • M
      b43: Add PIO support for PCMCIA devices · 5100d5ac
      Michael Buesch 提交于
      This adds PIO support back (D'oh!) for PCMCIA devices.
      This is a complete rewrite of the old PIO code. It does actually work
      and we get reasonable performance out of it on a modern machine.
      On a PowerBook G4 I get a few MBit for TX and a few more for RX.
      So it doesn't work as well as DMA (of course), but it's a _lot_ faster
      than the old PIO code (only got a few kBit with that).
      
      The limiting factor is the host CPU speed. So it will generate 100%
      CPU usage when the network interface is heavily loaded. A voluntary preemption
      point in the RX path makes sure Desktop Latency isn't hurt.
      
      PIO is needed for 16bit PCMCIA devices, as we really don't want to poke with
      the braindead DMA mechanisms on PCMCIA sockets. Additionally, not all
      PCMCIA sockets do actually support DMA in 16bit mode (mine doesn't).
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5100d5ac
  8. 08 3月, 2008 2 次提交
  9. 06 2月, 2008 1 次提交
  10. 29 1月, 2008 1 次提交
    • M
      b43: Remove PIO support · 03b29773
      Michael Buesch 提交于
      Remove b43 PIO support.
      DMA works well on all supported devices. There's no reason to use PIO.
      Additionally, new devices don't support PIO in hardware anymore.
      b43 PIO support is dead and unused code.
      
      After applying this patch please do
      git rm drivers/net/wireless/b43/pio.h
      git rm drivers/net/wireless/b43/pio.c
      to remove the main PIO support code.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      03b29773
  11. 11 10月, 2007 1 次提交