ssb: Handle Netbook devices where the SPROM address is changed
authorChristoph Fritz <chf.fritz@googlemail.com>
Sun, 11 Jul 2010 23:26:15 +0000 (18:26 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:20:43 +0000 (10:20 -0700)
commitea158563643b3c28c5dd3f286ab61aadddfd7b88
tree53dca771f4266f7911c1b5b17669a3d260f6dc87
parentedc62dda419e4f6ee40548fa3deb9baf8b369e29
ssb: Handle Netbook devices where the SPROM address is changed

For some Netbook computers with Broadcom BCM4312 wireless interfaces,
the SPROM has been moved to a new location. When the ssb driver tries to
read the old location, the systems hangs when trying to read a
non-existent location. Such freezes are particularly bad as they do not
log the failure.

This patch is modified from commit
da1fdb02d9200ff28b6f3a380d21930335fe5429 with some pieces from other
mainline changes so that it can be applied to stable 2.6.34.Y.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ssb/driver_chipcommon.c
drivers/ssb/driver_chipcommon_pmu.c
drivers/ssb/pci.c
drivers/ssb/sprom.c
include/linux/ssb/ssb.h
include/linux/ssb/ssb_driver_chipcommon.h
include/linux/ssb/ssb_regs.h