[PATCH 2/2] powerpc: MPC85xx EDAC device driver

Arnd Bergmann arnd at arndb.de
Tue Jul 31 04:46:09 EST 2007

On Monday 30 July 2007, Dave Jiang wrote:
> > What about the other option I mentioned, handling the EDAC stuff from the
> > fsl_add_bridge() function?
> I'm not sure I follow your thought on this quite yet. Do you mean the setup of
> either of_device or platform_device or do you mean the actual pci err driver?
> I'm not understanding how doing the setup code in fsl_add_bridge() would allow
> us to prevent the of_device being monopolized by the EDAC driver or the future
> PCI code.... The EDAC driver still needs some sort of "device" to claim one way
> or another right?

What I meant is calling the edac_pci_alloc_ctl_info() function directly
from fsl_add_bridge() where appropriate, with all the 85xx PCI EDAC
code moved into fsl_pci.c.

	Arnd <><

More information about the Linuxppc-dev mailing list