]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] 85xxCDS: Make sure restart resets the PCI bus.
authorRandy Vinson <rvinson@linuxbox.(none)>
Fri, 23 Mar 2007 22:43:37 +0000 (15:43 -0700)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 24 Jul 2007 03:35:12 +0000 (22:35 -0500)
commitef38ef5c800eb36256d5f78efc3447c30e266c4e
tree59c5aa07de7eb66fb624674b687fb061ffc48e81
parentdc6f3cf09e156924eecec764d22f9f7d11773062
[POWERPC] 85xxCDS: Make sure restart resets the PCI bus.

The current 85xxCDS restart code fails to reset the PCI bus which can
lead to odd behavior after the restart. This patch uses the VIA Super
Southbridge to perform a PCI reset which will reset the entire system.
NOTE: Since the VIA chip is behind a PCI-to-PCI bridge which can be
disabled with a switch setting, it may not be possible to perform the
PCI bus reset. In this case, the code defaults to the previous restart
mechanism.

Signed-off-by: Randy Vinson <rvinson@mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/mpc85xx_cds.c