Search Linux Wireless

Re: brcmfmac + compat wireless + 2.6.35

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

 



Hi Denis,

On 11/22/2011 11:46 AM, Denis 'GNUtoo' Carikli wrote:
  * adding an if 0 in brcmf_sdcard_intr_reg removes the problematic dmesg
message:
int brcmf_sdcard_intr_reg(struct brcmf_sdio_dev *sdiodev)
{
         brcmf_dbg(TRACE, "Entering\n");
#if 0
         sdio_claim_host(sdiodev->func[1]);
         sdio_claim_irq(sdiodev->func[1], brcmf_sdioh_irqhandler);
         sdio_release_host(sdiodev->func[1]);
#endif
         return 0;
}
but then:
# ifconfig wlan0 up
ifconfig: SIOCSIFFLAGS: Operation not permitted
(with rfkill state ok (soft = 0, hard = 0, state = 1) and beeing root.

Root cause for the mmc complain is that there is no handler for function 2 interrupt. 4329 generate a SDIO interrupt when there are something available for the driver to retrieve from the dongle. It will flag both function 1 and function 2 at the same time. They are identical. A empty dummy irq handler register to function 2 irq will make the warning go away. FWIW, it doesn't affect anything here since they have been taken care in function 1 irq handler. I will submit a patch too add the dummy handler.

Thanks,
Franky

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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