linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* meaning of macros PCI_PROBE_CONF1|2
@ 2012-04-23  6:53 Onkar N Mahajan
  2012-04-23 16:15 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Onkar N Mahajan @ 2012-04-23  6:53 UTC (permalink / raw)
  To: linux-pci

I was searching for the meaning of Macros - PCI_PROBE_NOEARLY,
PCI_PROBE_MMCONF, PCI_PROBE_CONF1 and PCI_PROBE_CONF2 , these are
defined in linux/arch/x86/include/asm/pci_x86.h. I tried Googling 
but found nothing but browser cross-references. 

Please help me with some hints to start with. 

Regards,
Onkar


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: meaning of macros PCI_PROBE_CONF1|2
  2012-04-23  6:53 meaning of macros PCI_PROBE_CONF1|2 Onkar N Mahajan
@ 2012-04-23 16:15 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2012-04-23 16:15 UTC (permalink / raw)
  To: Onkar N Mahajan; +Cc: linux-pci

On 04/22/2012 11:53 PM, Onkar N Mahajan wrote:

> I was searching for the meaning of Macros - PCI_PROBE_NOEARLY,
> PCI_PROBE_MMCONF, PCI_PROBE_CONF1 and PCI_PROBE_CONF2 , these are
> defined in linux/arch/x86/include/asm/pci_x86.h. I tried Googling 
> but found nothing but browser cross-references. 


These values are just bit flags that control which type(s) of
PCI probing are going to be used.  They are used to set values
in the variable

unsigned int pci_probe = PCI_PROBE_BIOS | PCI_PROBE_CONF1 | PCI_PROBE_CONF2 |
				PCI_PROBE_MMCONF;

in arch/x86/pci/common.c.  This file also has code that parses the
kernel's boot command line to check if PCI probing control options
are used on it.  If so, the 'pci_probe' variable is updated according
to the options on the command line.  Some command-line options also
depend on various Kconfig options being enabled.


> Please help me with some hints to start with. 



-- 
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-23 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-23  6:53 meaning of macros PCI_PROBE_CONF1|2 Onkar N Mahajan
2012-04-23 16:15 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).