From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Jon Dufresne <jon.dufresne@infinitevideocorporation.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Driver question: multiple instances of same char device
Date: Fri, 13 Jul 2007 16:32:01 +0100 [thread overview]
Message-ID: <20070713163201.1cb6165f@the-village.bc.nu> (raw)
In-Reply-To: <1184072796.31808.30.camel@microwave.infinitevideocorporation.com>
On Tue, 10 Jul 2007 09:06:36 -0400
Jon Dufresne <jon.dufresne@infinitevideocorporation.com> wrote:
> I am relatively new to linux device development. And want to understand
> Linux conventions.
>
> Suppose I have a PCI card that is represented in the system by a
> character device.
>
> If I have two of those PCI cards in the system when the driver module
> loads, is it convention to have two different major numbers, or have one
> major number and two different minor numbers?
Usually one major and two minor, although sysfs and udev deals with much
of it now
prev parent reply other threads:[~2007-07-13 15:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-10 13:06 Jon Dufresne
2007-07-10 13:13 ` Vitaliy Ivanov
2007-07-10 13:31 ` Jon Dufresne
2007-07-13 15:32 ` Alan Cox [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=20070713163201.1cb6165f@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=jon.dufresne@infinitevideocorporation.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®