All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Ashcroft <scott.ashcroft@talk21.com>
To: Robert Hancock <hancockr@shaw.ca>
Cc: Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: Always zero test in arch/i386/pci/mmconfig-shared.c
Date: Sat, 14 Jul 2007 01:18:20 +0100	[thread overview]
Message-ID: <4698164C.3080302@talk21.com> (raw)
In-Reply-To: <46980DE4.6090404@shaw.ca>

Robert Hancock wrote:
  > You missed this code:
> 
> name = pci_mmcfg_probes[i].probe();
> 
> This calls one of the probe functions above, which will set 
> pci_mmcfg_config_num to something else, as with the name variable. It 
> may set the name but not the config num, if the chipset is recognized 
> but MMCONFIG isn't enabled, etc.

Obvious now you've pointed it out. Bit of of a weird way to do things.
I might brew up a patch which adds the names to the 
pci_mmcfg_hostbridge_probe struct, since they appear to be always 
returned if the probe function is called, and make the probe functions 
return the config num.

Cheers,
Scott

  reply	other threads:[~2007-07-14  0:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.nwpKC6+7UvIqGGeRe+rNP7ZO5P4@ifi.uio.no>
2007-07-13 23:42 ` Always zero test in arch/i386/pci/mmconfig-shared.c Robert Hancock
2007-07-14  0:18   ` Scott Ashcroft [this message]
2007-07-10 18:22 Scott Ashcroft

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=4698164C.3080302@talk21.com \
    --to=scott.ashcroft@talk21.com \
    --cc=hancockr@shaw.ca \
    --cc=linux-kernel@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.