From: Benjamin Herrenschmidt Date: Mon, 27 Oct 2008 19:48:41 +0000 (+0000) Subject: powerpc/eeh: Make EEH device add/remove more robust X-Git-Tag: v2.6.29-rc1~574^2~134 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57b066ff4ec53a0ac7cbf7fb363bb670cf58ddae;p=pandora-kernel.git powerpc/eeh: Make EEH device add/remove more robust To properly fix PCI hotplug, it's useful to be able to make the fixup passes on all devices whether they were just hot plugged or already there. The EEH code however used to not be very friendly with calling eeh_add_device_late() multiple time, and not very rebust in the way it generally tests whether a device is in the expected state vs. the EEH code. This improves it, along with cleaning up a couple of debug printk's. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed