linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: Pratyush Anand <pratyush.anand@st.com>
Cc: shiv prakash Agarwal <chhotu.shiv@gmail.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Yinghai Lu <yinghai@kernel.org>,
	Alex Williamson <alex.williamson@redhat.com>,
	Andrew Murray <amurray@embedded-bits.co.uk>
Subject: Re: PCIE support as loadable module
Date: Fri, 25 Apr 2014 12:28:48 +0200	[thread overview]
Message-ID: <1398421728.4657.28.camel@weser.hi.pengutronix.de> (raw)
In-Reply-To: <20140425085049.GB3168@pratyush-vbox>

Am Freitag, den 25.04.2014, 14:20 +0530 schrieb Pratyush Anand:
> On Thu, Apr 24, 2014 at 03:45:58PM +0800, shiv prakash Agarwal wrote:
> > Hi All,
> > 
> > Can we support PCIE driver as loadable module instead of including it in kernel?
> 
> I think it should work with current code. But, You will have to keep
> all PCIe device (ep/card) driver also as module, and they must be
> inserted only after host (RC) driver module.

Um, care to explain why?
I think the bus probing should only happen once the RC driver is there.
It shouldn't matter if device drivers are already registered at this
stage, their probe function will only be called when the bus gets
populated.

Regards,
Lucas
-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |


      reply	other threads:[~2014-04-25 10:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24  7:45 PCIE support as loadable module shiv prakash Agarwal
2014-04-25  8:50 ` Pratyush Anand
2014-04-25 10:28   ` Lucas Stach [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=1398421728.4657.28.camel@weser.hi.pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=alex.williamson@redhat.com \
    --cc=amurray@embedded-bits.co.uk \
    --cc=bhelgaas@google.com \
    --cc=chhotu.shiv@gmail.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=pratyush.anand@st.com \
    --cc=yinghai@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 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).