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))



Thank you for your comments.

Allen Briggs wrote:
> On Wed, May 10, 2006 at 07:35:29PM +0900, Shigeyuki Fukushima wrote:
>> Why is pchb below on plb directly?
>> (cf. On i386 port, mainbus -> pci -> pchb.)
> On a number of ports, the PCI host bridge is the device through
> which you access the PCI bus.  It's not the same on i386 systems.

I see. Then, is i386-port a special case? I think so. ok?

By the way, in pci-bus implementation (sys/dev/pci/pci.c), there is
pci_attach_hook() function-call.
This must be implemented at machine-dependent parts.

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.
Codes in  pci_attach_hook() makes no sense. Is it right?

-- 
Kind Regards,
--- shige
Shigeyuki Fukushima <shige@{FreeBSD,jp.FreeBSD,NetBSD}.org>




Home | Main Index | Thread Index | Old Index