1. 01 2月, 2008 1 次提交
    • S
      b43legacy: fix MAC control and microcode init · e78c9d28
      Stefano Brivio 提交于
      This zeros out all microcode related memory before loading
      the microcode.
      
      This also fixes initialization of the MAC control register.
      The _only_ place where we overwrite the contents of the MAC control
      register is at the beginning of b43_chip_init().
      All other places must do read() -> mask/set -> write() to not
      overwrite existing bits.
      
      This also adds a longer delay for waiting for the microcode
      to initialize itself. It seems that the current timeout is sufficient
      on all available devices, but there's no real reason why we shouldn't
      wait for up to one second. Slow embedded devices might exist.
      Better safe than sorry.
      
      While at it, fix naming of MACCTL values.
      
      This patch by Michael Buesch has been ported to b43legacy.
      Signed-off-by: NStefano Brivio <stefano.brivio@polimi.it>
      Acked-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e78c9d28
  2. 11 10月, 2007 1 次提交