lkml.org 
[lkml]   [2011]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Disable PCI while CONFIG_PCI=y
On Wed, 13 Apr 2011 15:05:59 -0500 Xianghua Xiao wrote:

> 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?

Hm. Documentation/kernel-parameters.txt says:


pci=option[,option...] [PCI] various PCI subsystem options:
earlydump [X86] dump PCI config space before the kernel
changes anything
off [X86] don't probe for the PCI bus

What $ARCH are you using?

See arch/x86/pci/common.c::pcibios_setup() for code that handles
pci=off

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


\
 
 \ /
  Last update: 2011-04-13 22:13    [W:0.042 / U:14.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site