From: nbd Date: Thu, 5 Apr 2007 02:07:50 +0000 (+0000) Subject: brcm47xx-2.6: reset the pci core at boot time (see #464) X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=4c29ee0335fb91afa71b413b7fe935c28516c0b2;hp=536ce77ab8b2b371f7b7d6afe3a46afd54bd93f5 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 --- 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 e18e486c0..3ad97036f 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);