linux-hardened/drivers/net/wireless/brcm80211/brcmsmac
Linus Torvalds 61bd5e5683 brcmsmac: fix reading of PCI sprom contents
It appears that you can only read the sprom contents with aligned 16-bit
reads: anything else causes at least some versions of the broadcom
chipset to abort the PCI transaction, returning 0xff.

This apparently doesn't trigger very often, because most setups don't
use an external srom chip, and the OTP sprom loading doesn't have this
issue.  But at least the current 11" Macbook Air does trigger it, and
wireless communications were broken as a result.

Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-12 12:19:34 -08:00
..
phy net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
aiutils.c brcmsmac: Replace kmalloc/memset with kzalloc 2011-12-15 14:46:37 -05:00
aiutils.h brcm80211: smac: cleanup buscore handling in aiutils.c 2011-12-13 15:48:32 -05:00
ampdu.c brcm80211: smac: use bcma core register access functions for 802.11 core 2011-12-13 15:32:36 -05:00
ampdu.h
antsel.c
antsel.h
brcms_trace_events.c
brcms_trace_events.h
channel.c brcm80211: smac: remove code under unused macro definitions 2011-11-11 14:28:28 -05:00
channel.h
d11.h brcm80211: smac: use bcma core register access functions for 802.11 core 2011-12-13 15:32:36 -05:00
dma.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
dma.h brcm80211: smac: use bcma function for register access in dma.c 2011-12-13 15:32:56 -05:00
mac80211_if.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
mac80211_if.h brcm80211: smac: change from pci device driver to bcma device driver 2011-12-13 15:31:59 -05:00
main.c brcm80211: smac: remove mapped core related function from aiutils.c 2011-12-13 15:48:26 -05:00
main.h brcm80211: smac: use bcma core register access functions for 802.11 core 2011-12-13 15:32:36 -05:00
Makefile
nicpci.c brcm80211: smac: cleanup buscore handling in aiutils.c 2011-12-13 15:48:32 -05:00
nicpci.h brcm80211: smac: use bcma core access functions in nicpci.c 2011-12-13 15:33:17 -05:00
otp.c brcm80211: smac: use bcma core access functions in otp.c 2011-12-13 15:47:58 -05:00
otp.h
phy_shim.c
phy_shim.h
pmu.c brcm80211: smac: remove ai_switch_core() function 2011-12-13 15:48:23 -05:00
pmu.h brcm80211: smac: remove ai_switch_core() function 2011-12-13 15:48:23 -05:00
pub.h brcm80211: smac: change attach interfaces in main.c for bcma support 2011-12-13 15:32:07 -05:00
rate.c
rate.h brcm80211: smac: remove phy api bypass in rate.h 2011-11-08 15:54:09 -05:00
scb.h
srom.c brcmsmac: fix reading of PCI sprom contents 2012-01-12 12:19:34 -08:00
srom.h brcm80211: smac: use bcma core access function in srom.c 2011-12-13 15:48:01 -05:00
stf.c brcm80211: removed unused functions 2011-10-14 14:48:18 -04:00
stf.h
types.h brcm80211: smac: remove register access macro definitions 2011-12-13 15:48:10 -05:00
ucode_loader.c
ucode_loader.h