odroid-linux/drivers/ssb
Hauke Mehrtens fcd02ab513 ssb: fix init regression with SoCs
commit 329456d1ff upstream.

This fixes a Data bus error on some SoCs. The first fix for this
problem did not solve it on all devices.
    commit 6ae8ec2786
    Author: Rafał Miłecki <zajec5@gmail.com>
    Date:   Tue Jul 5 17:25:32 2011 +0200
        ssb: fix init regression of hostmode PCI core

In ssb_pcicore_fix_sprom_core_index() the sprom on the PCI core is
accessed, but the sprom only exists when the ssb bus is connected over
a PCI bus to the rest of the system and not when the SSB Bus is the
main system bus. SoCs sometimes have a PCI host controller and there
this code will not be executed, but there are some old SoCs with an PCI
controller in client mode around and ssb_pcicore_fix_sprom_core_index()
should not be called on these devices too. The PCI controller on these
devices are unused, but without this fix it results in an Data bus
error when it gets initialized.

Cc: Michael Buesch <m@bues.ch>
Cc: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-06 14:13:48 -08:00
..
b43_pci_bridge.c ssb: b43-pci-bridge: Add new vendor for BCM4318 2010-11-22 15:19:31 -05:00
driver_chipcommon.c ssb: cc: prepare clockmode support for cores rev 10+ 2011-05-02 14:49:14 -04:00
driver_chipcommon_pmu.c ssb: cc: use correct min_msk for 0x4312 2011-04-25 14:50:13 -04:00
driver_extif.c ssb: Make the GPIO API reentrancy safe 2008-02-20 20:11:49 -05:00
driver_gige.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
driver_mipscore.c ssb: fix interrupt assignment 2010-02-08 16:50:54 -05:00
driver_pcicore.c ssb: fix init regression with SoCs 2012-01-06 14:13:48 -08:00
embedded.c SSB: BCM47xx: Export ssb_watchdog_timer_set 2009-06-08 16:57:50 +01:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
main.c ssb: fix pcicore build breakage 2011-05-13 15:05:46 -04:00
Makefile ssb: Implement SDIO host bus support 2009-09-09 11:19:00 -04:00
pci.c SSB: Change fallback sprom to callback mechanism. 2011-05-19 09:55:47 +01:00
pcihost_wrapper.c ssb: Clear RETRY_TIMEOUT in PCI Configuration for normal devices 2010-11-15 13:23:28 -05:00
pcmcia.c ssb-pcmcia: Fix parsing of invariants tuples 2011-02-07 16:02:14 -05:00
scan.c ssb: update list of devices supporting multiple 80211 cores 2011-05-11 10:17:17 -04:00
sdio.c ssb/sdio: fix printk format warnings 2009-09-16 16:21:00 -04:00
sprom.c SSB: Change fallback sprom to callback mechanism. 2011-05-19 09:55:47 +01:00
ssb_private.h SSB: Change fallback sprom to callback mechanism. 2011-05-19 09:55:47 +01:00