diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2012-10-31 20:16:53 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2012-10-31 20:16:53 +0000 |
commit | 8cb200c4753e1cb42062cf2d6067b9491f90472c (patch) | |
tree | eec38da24220cf7a13ff0eb44fb0c76d3bd57629 /target/linux/generic/patches-3.3 | |
parent | 5abc89f03749c479831b1f642ac9259d688a276a (diff) | |
download | upstream-8cb200c4753e1cb42062cf2d6067b9491f90472c.tar.gz upstream-8cb200c4753e1cb42062cf2d6067b9491f90472c.tar.bz2 upstream-8cb200c4753e1cb42062cf2d6067b9491f90472c.zip |
[cns3xxx]: move PCIe init to subsys init call
ARM Linux PCI/PCIe hardware intialization needs to occur before device_init
as it does not support hotplug. I have modeled the cns3xxx PCIe init after
other ARM platforms. Registering it early resolves resource issues occuring
during bus enumeration that occur when a device driver is linked static in
the kernel.
Instead of passing in a bitmask to enable the 2 available ports, link detect
is used to enable ports that have a valid link.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34044 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.3')
0 files changed, 0 insertions, 0 deletions