Search Linux Wireless

Re: [PATCH v2] b43: Add fastpath to b43_mac_suspend()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-04-15 at 21:13 +0200, Michael Buesch wrote:
> This adds a fastpath for the common workloads to the
> MAC suspend flushing.


> @@ -2340,12 +2340,20 @@ static void b43_mac_suspend(struct b43_w
>  		b43_power_saving_ctl_bits(dev, B43_PS_AWAKE);
>  		b43_write32(dev, B43_MMIO_MACCTL,
>  			    b43_read32(dev, B43_MMIO_MACCTL)
>  			    & ~B43_MACCTL_ENABLED);
>  		/* force pci to flush the write */
>  		b43_read32(dev, B43_MMIO_MACCTL);
> +		/* Finally wait for the microcode to flush the fifos. */

That comment is wrong, the ucode won't flush the FIFOs, it'll just go to
sleep. If you want it to flush FIFOs you have to set a flush request bit
somewhere (mac command I think), but you don't actually, you just don't
want to have it processing stuff.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux