[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200610021902.k92J2hEP124945@fcbayern.americas.sgi.com>
Date: Mon, 2 Oct 2006 14:02:42 -0500 (CDT)
From: John Keller <jpk@....com>
To: akpm@...l.org (Andrew Morton)
Cc: jpk@....com (John Keller), linux-ia64@...r.kernel.org,
pcihpd-discuss@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org, ayoung@....com
Subject: Re: [PATCH 1/3] - Altix: Add initial ACPI IO support
>
> On Fri, 22 Sep 2006 09:51:23 -0500
> John Keller <jpk@....com> wrote:
>
> > First phase in introducing ACPI support to SN.
>
> This:
>
> --- gregkh-2.6.orig/include/linux/pci.h
> +++ gregkh-2.6/include/linux/pci.h
> @@ -405,6 +405,7 @@ extern struct bus_type pci_bus_type;
> extern struct list_head pci_root_buses; /* list of all known PCI buses */
> extern struct list_head pci_devices; /* list of all devices */
>
> +void pcibios_fixup_device_resources(struct pci_dev *);
> void pcibios_fixup_bus(struct pci_bus *);
> int __must_check pcibios_enable_device(struct pci_dev *, int mask);
> char *pcibios_setup (char *str);
>
> breaks a bunch of architectures.
>
> For example alpha has
>
> void __init
> pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus)
>
> box:/usr/src/linux-2.6.18> grep -rl pcibios_fixup_device_resources .
> ./arch/alpha/kernel/pci.c
> ./arch/ia64/pci/pci.c
> ./arch/mips/pci/pci.c
> ./arch/powerpc/kernel/pci_64.c
> ./arch/powerpc/platforms/pseries/pci_dlpar.c
> ./include/asm-powerpc/pci.h
>
> It needs work...
>
Interesting. Looks like I made a bad assumption thinking
the definitions would be the same for all archs.
I'll fix and resend.
John
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists