Driver question: multiple instances of same char device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux