Re: [PATCH v2 1/2] PCI: Add 'nodomains' boot option, and pci_domains_supportedglobal

From: Jeff Garzik
Date: Thu Oct 11 2007 - 17:17:30 EST


Jeff Garzik wrote:
* Introduce pci_domains_supported global, hardcoded to zero if
!CONFIG_PCI_DOMAINS.

* Introduce 'nodomains' boot option, which clears pci_domains_supported
on platforms that enable it by default (x86, x86-64, and others when
they are converted to use this).

Signed-off-by: Jeff Garzik <jgarzik@xxxxxxxxxx>
---
Revised per Andi's comments, and split into two patches.

As found in jgarzik/misc-2.6.git#ALL and jgarzik/misc-2.6.git#pciseg.

Documentation/kernel-parameters.txt | 2 ++
drivers/pci/pci.c | 13 +++++++++++++
include/linux/pci.h | 7 +++++--
3 files changed, 20 insertions(+), 2 deletions(-)

As a note, if this wasn't obvious, this was not implemented in x86-specific code because I think other arches can/should be able to hook into this.

The default !CONFIG_PCI_DOMAINS implementation continues to work for all such arches.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/