Subject: Re: ibm4xx pci (Re: IBM405GP/GPr OPB bus_space endian (powerpc/ibm4xx/dev/opb.c))
To: Shigeyuki Fukushima <shige@netbsd.org>
From: Jachym Holecek <freza@liberouter.org>
List: port-powerpc
Date: 05/10/2006 18:01:36
> > In an ibm4xx case, this function is located at
> > ibm4xx/dev/pci/pci_machdep.c.
> > When this function was called, pchb had been already attached.
> 
> That's OK.  The pci_attach_hook() is called before each PCI bus is
> attached.  [... example ...]

I think what shige@ means here is that currently pci_attach_hook()
only calls ibm4xx_setup_pci(), which is already called by pchbattach().
So, the point is ibm4xx_setup_pci() can be left blank or #defined
away (unless this really _needs_ to happen twice).

	-- Jachym