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 | 3c12bad276e2e684236fd815c10440ae187d45c8 (patch) | |
tree | a696fecec0b1314a66d2c8db20e8c5af31e0c399 /target/linux/kirkwood | |
parent | 07a762c4c563471a17b9e23e054cc15f11c499a4 (diff) | |
download | upstream-3c12bad276e2e684236fd815c10440ae187d45c8.tar.gz upstream-3c12bad276e2e684236fd815c10440ae187d45c8.tar.bz2 upstream-3c12bad276e2e684236fd815c10440ae187d45c8.zip |
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>
SVN-Revision: 34044
Diffstat (limited to 'target/linux/kirkwood')
0 files changed, 0 insertions, 0 deletions