[PATCH] ppc32: Fix MPC52xx configuration space access
authorSylvain Munaut <tnt@246tNt.com>
Fri, 6 Jan 2006 08:11:36 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:31 +0000 (08:33 -0800)
commitdb674ed450f113518285f410c93abecd93e71a2f
treea4262285a9cab5ff5da39ec3c9372d14ec7143e6
parentdbeb198d9366eb3d3ad64444ceecb5b1d5b5d7ef
[PATCH] ppc32: Fix MPC52xx configuration space access

This patch takes care of an errata of the MPC5200 by avoiding 32 bits access
in type 1 configuration accesses.  All others accesses are still 32 bits wide.
 It also adds some mb() since the simple out_be(...) are not sufficient in
this case.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/syslib/mpc52xx_pci.c