OpenCloudOS-Kernel/drivers/ssb
Hauke Mehrtens 329456d1ff ssb: fix init regression with SoCs
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>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-12-08 15:06:35 -05:00
..
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile ssb: Implement SDIO host bus support 2009-09-09 11:19:00 -04:00
b43_pci_bridge.c Update my e-mail address 2011-07-07 15:18:01 +02:00
driver_chipcommon.c Update my e-mail address 2011-07-07 15:18:01 +02:00
driver_chipcommon_pmu.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
driver_extif.c Update my e-mail address 2011-07-07 15:18:01 +02:00
driver_gige.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
driver_mipscore.c Update my e-mail address 2011-07-07 15:18:01 +02:00
driver_pcicore.c ssb: fix init regression with SoCs 2011-12-08 15:06:35 -05:00
embedded.c Update my e-mail address 2011-07-07 15:18:01 +02:00
main.c ssb: fix DMA translation for some specific boards 2011-08-24 14:41:41 -04:00
pci.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
pcihost_wrapper.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
pcmcia.c Update my e-mail address 2011-07-07 15:18:01 +02:00
scan.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
sdio.c Update my e-mail address 2011-07-07 15:18:01 +02:00
sprom.c Update my e-mail address 2011-07-07 15:18:01 +02:00
ssb_private.h SSB: Change fallback sprom to callback mechanism. 2011-05-19 09:55:47 +01:00