Skip to content

Commit 181ffd1

Browse files
Keith Buschbjorn-helgaas
authored andcommitted
x86/PCI: VMD: Move VMD driver to drivers/pci/host
Move the driver source and Kconfig to the PCI host bridge drivers directory and move the config option to a more appropriate sub-menu instead of occupying the top-level location. Update the Kconfig option with the X86_64 dependency that was implicitly included from the previous location, and add information about the module name when built as a loadable module. Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> CC: Jon Derrick <[email protected]>
1 parent ee6ee49 commit 181ffd1

File tree

5 files changed

+17
-15
lines changed

5 files changed

+17
-15
lines changed

arch/x86/Kconfig

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,19 +2744,6 @@ config PMC_ATOM
27442744
def_bool y
27452745
depends on PCI
27462746

2747-
config VMD
2748-
depends on PCI_MSI
2749-
tristate "Volume Management Device Driver"
2750-
default N
2751-
---help---
2752-
Adds support for the Intel Volume Management Device (VMD). VMD is a
2753-
secondary PCI host bridge that allows PCI Express root ports,
2754-
and devices attached to them, to be removed from the default
2755-
PCI domain and placed within the VMD domain. This provides
2756-
more bus resources than are otherwise possible with a
2757-
single domain. If you know your system provides one of these and
2758-
has devices attached to it, say Y; if you are not sure, say N.
2759-
27602747
source "net/Kconfig"
27612748

27622749
source "drivers/Kconfig"

arch/x86/pci/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ obj-y += bus_numa.o
2323
obj-$(CONFIG_AMD_NB) += amd_bus.o
2424
obj-$(CONFIG_PCI_CNB20LE_QUIRK) += broadcom_bus.o
2525

26-
obj-$(CONFIG_VMD) += vmd.o
27-
2826
ifeq ($(CONFIG_PCI_DEBUG),y)
2927
EXTRA_CFLAGS += -DDEBUG
3028
endif

drivers/pci/host/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,4 +274,20 @@ config PCIE_ARTPEC6
274274
Say Y here to enable PCIe controller support on Axis ARTPEC-6
275275
SoCs. This PCIe controller uses the DesignWare core.
276276

277+
config VMD
278+
depends on PCI_MSI && X86_64
279+
tristate "Intel Volume Management Device Driver"
280+
default N
281+
---help---
282+
Adds support for the Intel Volume Management Device (VMD). VMD is a
283+
secondary PCI host bridge that allows PCI Express root ports,
284+
and devices attached to them, to be removed from the default
285+
PCI domain and placed within the VMD domain. This provides
286+
more bus resources than are otherwise possible with a
287+
single domain. If you know your system provides one of these and
288+
has devices attached to it, say Y; if you are not sure, say N.
289+
290+
To compile this driver as a module, choose M here: the
291+
module will be called vmd.
292+
277293
endmenu

drivers/pci/host/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ obj-$(CONFIG_PCI_HOST_THUNDER_ECAM) += pci-thunder-ecam.o
3131
obj-$(CONFIG_PCI_HOST_THUNDER_PEM) += pci-thunder-pem.o
3232
obj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
3333
obj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
34+
obj-$(CONFIG_VMD) += vmd.o
File renamed without changes.

0 commit comments

Comments
 (0)