]> git.baikalelectronics.ru Git - kernel.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)
commitbbe195dde76655450a685d2bebbc816c3a667c5b
tree10d88cde5443443f400c596a60fd0c5c406da8c3
parentffd6a2b31bccbf2616943aeb5c2abdec10b9a130
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