]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/fsl-pci Make PCIe hotplug work with Freescale PCIe controllers
authorRojhalat Ibrahim <imr@rtschenk.de>
Mon, 8 Apr 2013 08:15:28 +0000 (10:15 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 10 Apr 2013 15:15:28 +0000 (10:15 -0500)
commit50d8f87d2b39313dae9d0a2d9b23d377328f2f7b
tree10d88cde5443443f400c596a60fd0c5c406da8c3
parent34642bbb3d12121333efcf4ea7dfe66685e403a1
powerpc/fsl-pci Make PCIe hotplug work with Freescale PCIe controllers

Up to now the PCIe link status on Freescale PCIe controllers was only
checked once at boot time. So hotplug did not work. With this patch the
link status is checked on every config read. PCIe devices not present at
boot time are found after doing 'echo 1 >/sys/bus/pci/rescan'.

Signed-off-by: Rojhalat Ibrahim <imr@rtschenk.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/indirect_pci.c