[POWERPC] 86xx: Avoid system halt if link training isn't at least L0.
authorZhang Wei <wei.zhang@freescale.com>
Mon, 25 Jun 2007 20:21:10 +0000 (15:21 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 06:58:22 +0000 (01:58 -0500)
commite4725c23eca47b5dc0d0d128b9af288c0cd878f6
treef5241f5c26b85c458a6fe67df97c3fcaebc419ba
parentab0f9ad34d1eb31bb13cc4218d7717f8a85b12ed
[POWERPC] 86xx: Avoid system halt if link training isn't at least L0.

We check the Link Training and State Status register to make sure we
are at least at the L0 state.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Acked-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/86xx/pci.c