Subject: Re: sparc64 PCI issues.
To: None <>
From: Jason R Thorpe <>
List: tech-kern
Date: 05/14/2002 16:13:37
On Tue, May 14, 2002 at 11:02:27PM -0000, wrote:

 > |  > It would also be useful to pass the pci_attach_args that
 > |  > were given to the ppb down to pci_probe_bus().
 > |
 > | Hm.  This is kind of a gross layering violation.  But I suspect you can
 > | probably do what you need to do using the pci_attach_hook() that machine-
 > | dependent code already provides.  What, in particular, do you need the ppb
 > | info for?
 > Specifically, I want the pci_tag since it's a convenient place to save state
 > information.

I suppose a "pcitag_t *pa_bridgetag" member could be added to pci_attach_args.
If non-NULL, it points to the tag for the bridge that is the PCI's parent,
and it would obviously be NULL for the root bus.

I'd like to get comments from other people on that, though.

        -- Jason R. Thorpe <>