mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jon Dufresne <jon.dufresne@infinitevideocorporation.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Driver question: multiple instances of same char device
Date: Tue, 10 Jul 2007 09:06:36 -0400	[thread overview]
Message-ID: <1184072796.31808.30.camel@microwave.infinitevideocorporation.com> (raw)

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?

Thanks,
Jon


             reply	other threads:[~2007-07-10 13:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10 13:06 Jon Dufresne [this message]
2007-07-10 13:13 ` Vitaliy Ivanov
2007-07-10 13:31   ` Jon Dufresne
2007-07-13 15:32 ` Alan Cox

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=1184072796.31808.30.camel@microwave.infinitevideocorporation.com \
    --to=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®