linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: Ran Shalit <ranshalit@gmail.com>, linux-pci@vger.kernel.org
Subject: Re: Q: Relation between lanes to devices and to BARs
Date: Sun, 31 Jan 2016 21:14:53 -0700	[thread overview]
Message-ID: <1454300093.10542.3.camel@redhat.com> (raw)
In-Reply-To: <CAJ2oMhL-oL68ZOLsFEn3uGE=O9sMjcwPDH6oznLhG15xnzSQtQ@mail.gmail.com>

On Sun, 2016-01-31 at 02:15 -0500, Ran Shalit wrote:
> Hello,
> 
> I am new to pci express drivers, and would please like to ask a question.
> We develop a linux driver for a PCIe device board with 4 lanes.
> 1. Is it expected that this will be recognized as a single device or
> multiple device ?

It depends whether your device is multifunction.

> 2. Is it that each lane rales to a different BAR or there is no
> connection between these two ?

No relation, all PCI/e devices have the same set of standard BARs
available to them.


  reply	other threads:[~2016-02-01  4:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-31  7:15 Q: Relation between lanes to devices and to BARs Ran Shalit
2016-02-01  4:14 ` Alex Williamson [this message]
2016-02-01 18:41   ` Ran Shalit
2016-02-01 20:54     ` Bjorn Helgaas
2016-02-11 15:22       ` Ran Shalit
2016-02-12  3:20         ` Bjorn Helgaas

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=1454300093.10542.3.camel@redhat.com \
    --to=alex.williamson@redhat.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=ranshalit@gmail.com \
    /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 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).