Re: [PATCH][ALPHA] PCI domains warning

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Wed, 11 Jun 2003 14:12:44 +0400


On Wed, Jun 11, 2003 at 10:19:34AM +0200, Marc Zyngier wrote:
> +#ifdef CONFIG_PCI_DOMAINS
> #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index
> +#endif

Alternatively, we can set CONFIG_PCI_DOMAINS=y unconditionally to
avoid ifdefs - jensen has dummy PCI infrastructure anyway.

Ivan.

--- 2.5/arch/alpha/Kconfig Wed Jun 11 13:13:56 2003
+++ linux/arch/alpha/Kconfig Wed Jun 11 13:54:37 2003
@@ -297,7 +297,7 @@ config PCI

config PCI_DOMAINS
bool
- default PCI
+ default y

config ALPHA_CORE_AGP
bool
-
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/