From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Gefre Date: Wed, 04 Feb 2004 17:04:42 +0000 Subject: Re: PCI question Message-Id: <4021262A.6020104@sgi.com> List-Id: References: <200402032235.i13MZQXl018906@fsgi900.americas.sgi.com> In-Reply-To: <200402032235.i13MZQXl018906@fsgi900.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Jesse Barnes wrote: >On Tue, Feb 03, 2004 at 05:36:53PM -0600, Patrick Gefre wrote: > > >>But not in 2.6 ?? >> >>struct pci_controller { >> void *acpi_handle; >> void *iommu; >> int segment; >> >> unsigned int windows; >> struct pci_window *window; >>}; >> >> > >Oops, I was looking at a 2.4 tree. I wonder if we can overload >acpi_handle for our purposes though? Since we don't have an ACPI >namespace, we obviously don't store things like the bridge base address >and PIO mapping information there, so we may be able to make this field >point to an sn2 specific structure that contains this info (I'm assuming >that's what we need). > >What else do we need to keep track of? The PCI to node mapping should >be stored seperately (I think mkp had a patch to implement that), but >I'm sure there are other things I'm missing... > >Thanks, >Jesse > > I think the 2.4 definition will be fine - at least for now. Was there a reason it was changed in 2.6 ? 2.4 definition: struct pci_controller { void *acpi_handle; void *iommu; int segment; unsigned int windows; struct pci_window *window; void *platform_data; }; -- Pat