mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Driver question: multiple instances of same char device
@ 2007-07-10 13:06 Jon Dufresne
  2007-07-10 13:13 ` Vitaliy Ivanov
  2007-07-13 15:32 ` Alan Cox
  0 siblings, 2 replies; 4+ messages in thread
From: Jon Dufresne @ 2007-07-10 13:06 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-13 15:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-10 13:06 Driver question: multiple instances of same char device Jon Dufresne
2007-07-10 13:13 ` Vitaliy Ivanov
2007-07-10 13:31   ` Jon Dufresne
2007-07-13 15:32 ` Alan Cox

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®