aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx-2.6
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-05 02:07:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-05 02:07:50 +0000
commit9bd36c854efa2170dc33a6d1791739569b36715e (patch)
treed19de86785e61b2cea9d7c5b466f817e3419f16f /target/linux/brcm47xx-2.6
parent2a76f05c33ba1c21850fb7c61c4bf954579431ec (diff)
downloadmaster-187ad058-9bd36c854efa2170dc33a6d1791739569b36715e.tar.gz
master-187ad058-9bd36c854efa2170dc33a6d1791739569b36715e.tar.bz2
master-187ad058-9bd36c854efa2170dc33a6d1791739569b36715e.zip
brcm47xx-2.6: reset the pci core at boot time (see #464)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6868 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx-2.6')
-rw-r--r--target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c b/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c
index e18e486c01..3ad97036f2 100644
--- a/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c
+++ b/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c
@@ -383,8 +383,7 @@ void ssb_pcicore_init(struct ssb_pcicore *pc)
if (!dev)
return;
bus = dev->bus;
- if (!ssb_device_is_enabled(dev))
- ssb_device_enable(dev, 0);
+ ssb_device_enable(dev, 0);
#ifdef CONFIG_SSB_PCICORE_HOSTMODE
pc->hostmode = pcicore_is_in_hostmode(pc);