From: "Per Andreas Gulbrandsen" <theperan@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Question about several drivers for one physical device
Date: Tue, 30 Dec 2008 13:43:27 +0100 [thread overview]
Message-ID: <164c42ea0812300443m6d034108h56ca71c86e52a641@mail.gmail.com> (raw)
Hi.
I have two drivers that both use the same device, an FPGA connected
via pci. These two pci drivers represent different functionality in
the FPGA, and they each have it's own BAR. My problem is that I can't
get these two drivers to correctly initialize. Only the first one
loaded actually finds the device (which one of the two doesn't
matter). The second driver I load never has it's probe method run, and
so it doesn't initialize correctly. I am aware that integrating these
two drivers in one module is a possiblity, but since these two drivers
aren't really related (except that they both drive an FPGA) I would
like to keep them as two separate modules. My question is really: Is
there another way to do this, or will I have to integrate the two so
they share init/exit/probe methods?
--
mvh
Per Andreas Gulbrandsen
next reply other threads:[~2008-12-30 12:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-30 12:43 Per Andreas Gulbrandsen [this message]
2008-12-30 15:05 ` Geert Uytterhoeven
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=164c42ea0812300443m6d034108h56ca71c86e52a641@mail.gmail.com \
--to=theperan@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®