linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Prasanna Kumar T S M <prasannatsmkumar@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Module Load order
Date: Sun, 26 Feb 2012 13:40:05 +0000	[thread overview]
Message-ID: <20120226134005.687b1622@pyramind.ukuu.org.uk> (raw)
In-Reply-To: <4F49E87B.1050708@gmail.com>

On Sun, 26 Feb 2012 13:38:27 +0530
Prasanna Kumar T S M <prasannatsmkumar@gmail.com> wrote:

> Is there any specific module load order in Linux? If there is a GPL
> driver and binary driver for a particular device which will be loaded?
> Is there any logic to load GPL driver built inside the kernel? Or is the
> module search and load is handled by some other component (like udev)
> and not the kernel? Sorry for my ignorance if I have asked this to a
> wrong list.

There should never be two drivers for one piece of hardware. There may be
two for the same PCI ID however which grab different device versions. In
that case both drivers get loaded and the probe routine figures out which
to bind.

Alan

  reply	other threads:[~2012-02-26 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26  8:08 Module Load order Prasanna Kumar T S M
2012-02-26 13:40 ` Alan Cox [this message]
2012-02-26 14:29 ` Kay Sievers

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=20120226134005.687b1622@pyramind.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=prasannatsmkumar@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).