All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: Onkar N Mahajan <kernzap@gmail.com>
Cc: linux-pci <linux-pci@vger.kernel.org>
Subject: Re: meaning of macros PCI_PROBE_CONF1|2
Date: Mon, 23 Apr 2012 09:15:21 -0700	[thread overview]
Message-ID: <4F958019.1020009@xenotime.net> (raw)
In-Reply-To: <1335164030.12240.4.camel@oc4748611672.ibm.com>

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

      reply	other threads:[~2012-04-23 16:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23  6:53 meaning of macros PCI_PROBE_CONF1|2 Onkar N Mahajan
2012-04-23 16:15 ` Randy Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F958019.1020009@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=kernzap@gmail.com \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.