Re: [PATCH] [3/3] PCI segment support

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Mon, 9 Jun 2003 15:41:42 +0400


BTW, you can include this in the next version of the patch. :-)

Ivan.

--- 2.5/include/asm-alpha/pci.h Tue May 27 05:00:20 2003
+++ linux/include/asm-alpha/pci.h Mon Jun 9 15:29:51 2003
@@ -195,6 +195,9 @@ extern void
pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region,
struct resource *res);

+#define pci_domain_nr(pbus) ({ struct pci_controller *_hose_ = pbus->sysdata; \
+ _hose_->index; })
+
#endif /* __KERNEL__ */

/* Values for the `which' argument to sys_pciconfig_iobase. */
--- 2.5/arch/alpha/Kconfig Mon Jun 9 12:39:39 2003
+++ linux/arch/alpha/Kconfig Mon Jun 9 12:43:55 2003
@@ -295,6 +295,10 @@ config PCI
information about which PCI hardware does work under Linux and which
doesn't.

+config PCI_DOMAINS
+ bool
+ default PCI
+
config ALPHA_CORE_AGP
bool
depends on ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL
-
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/