Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ibm4xx pci (Re: IBM405GP/GPr OPB bus_space endian (powerpc/ibm4xx/dev/opb.c))
> > 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
Home |
Main Index |
Thread Index |
Old Index