Subject: Re: Overriding pci_conf_interrupt
To: Peter Seebach <seebs@plethora.net>
From: Allen Briggs <briggs@netbsd.org>
List: tech-ports
Date: 03/21/2006 10:12:19
On Mon, Mar 20, 2006 at 09:51:50AM -0600, Peter Seebach wrote:
> I am thinking that the right thing to do is split this into something like
> arch/powerpc/ibm4xx/pci/pci_cpudep.c
> which provides the rest of the file, and
> arch/evbppc/*/pci_machdep.c
> which provides the versions used by each target board.
I think that's reasonable. You'll find a similar breakdown if you
look at evbarm (and presumably evbmips). Instead of "pci_cpudep.c"
I would use "ibm40x_pci.c" or similar. I think the ibm44x will be
different.
> Is this a sane approach? The main thing that bothers me is that the others
> all use the same form. Maybe it ought to be
> arch/powerpc/ibm4xx/pci/pci_default.c
You could do this with a pci_walnut.c or pci_405gp.c or something
that's in that location, but referenced from the individual boards'
'files' files.
-allen
--
Use NetBSD! http://www.NetBSD.org/