mpc83xx: PCIe: Fix CONFIG_PCI_SCAN_SHOW reporting bogus values
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 19 Feb 2009 15:20:44 +0000 (18:20 +0300)
committerKim Phillips <kim.phillips@freescale.com>
Mon, 23 Feb 2009 21:51:59 +0000 (15:51 -0600)
commitb24a99f6666ac278ec9f9c1334518af828833d19
treea69d7be8df4133cf8cad2f2aca285ce81ce867f7
parente2d72ba543c7b6924b5b5d393dcd80b2b9c3a022
mpc83xx: PCIe: Fix CONFIG_PCI_SCAN_SHOW reporting bogus values

This patch fixes an issue in config space read accessors: we should
fill-in the value even if we fail (e.g. skipping devices), otherwise
CONFIG_PCI_SCAN_SHOW reports bogus values during boot up.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
cpu/mpc83xx/pcie.c