Disable PCI while CONFIG_PCI=y

From: Xianghua Xiao
Date: Wed Apr 13 2011 - 16:06:07 EST


Is it possible to do something like 'pci=off' to have the same effect
as turning of CONFIG_PCI during menuconfig?
I want to build one image for both PCIE RC and PCIE EP(endpoint), for
EP I do not need PCI to be enabled at all.

looking at drivers/pci/pci.c I don't see such option exists, am I
missing something?

Thanks,
Xianghua
--
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/