]> 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)
commita0c4add71fac8e1f936014c76e0e9f3b316b59c9
tree10d88cde5443443f400c596a60fd0c5c406da8c3
parent945ee202ee75d3193cfc426d9a80d6e8dae45b12
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