Re: PCI question

From: Patrick Gefre <pfg_at_sgi.com>
Date: 2004-02-05 04:04:42
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

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Feb 4 12:09:59 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:22 EST