1. 09 4月, 2008 2 次提交
    • M
      b43: Use SSB block-I/O to do PIO · d8c17e15
      Michael Buesch 提交于
      This changes the b43-PIO code to use the new SSB block-I/O.
      This reduces the overhead by removing lots of function calls, pointer
      dereferencing, if-conditionals any byteswapping for each packet data word.
      
      This also fixes a harmless sparse endianness warning.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d8c17e15
    • 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
  2. 28 2月, 2008 1 次提交
  3. 29 1月, 2008 2 次提交
    • M
      b43: Add NPHY kconfig option · d5c71e46
      Michael Buesch 提交于
      This adds a new Kconfig option for enabling probing of N-PHYs.
      This option will be removed again once the stuff works.
      For now it is to help in development. This way real users won't
      execute the broken N-PHY codepaths, but the developers can easily
      enable N-PHY stuff.
      
      To enable N-PHY probing simply remove the BROKEN dependency
      and enable the option in the kernel config.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d5c71e46
    • 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
  4. 10 11月, 2007 1 次提交
  5. 11 10月, 2007 4 次提交