[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)
commit637e9e13a1f87d414954c854bcf8c5b16dc6face
tree59c5aa07de7eb66fb624674b687fb061ffc48e81
parent3620fc1da28ad32d10d7c83eab33f48ec5b1da54
[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