Messages in this thread | | | Date | Wed, 8 Sep 2004 11:54:41 -0700 | From | "David S. Miller" <> | Subject | Re: multi-domain PCI and sysfs |
| |
On Wed, 8 Sep 2004 11:32:28 -0700 Jesse Barnes <jbarnes@engr.sgi.com> wrote:
> On Wednesday, September 8, 2004 11:20 am, David S. Miller wrote: > > On Wed, 8 Sep 2004 09:02:14 -0700 > > > > Jesse Barnes <jbarnes@engr.sgi.com> wrote: > > > > Where is the PCI segment base address stored in the PCI driver > > > > structures? I'm still having trouble with the fact that the PCI driver > > > > does not have a clear structure representing a PCI segment. Shouldn't > > > > there be a structure corresponding to a segment? > > > > > > That would be nice, maybe an extra resource or something? I haven't > > > looked at the sparc code, but it probably deals with this (sn2 has > > > platform specific functions to get the base address for a bus). > > > > We store them directly in pci_resource_*(pdev,BAR_NUM) as physical > > addresses. > > Oh, right, you have them stored in each bridge, right? I should do the same > thing for sn2...
Oh you mean the base of the entire I/O space? We store that in the pdev arch level private area.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |