Driver question: multiple instances of same char device

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jon Dufresne
Date: Tuesday, July 10, 2007 - 6:06 am

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

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Driver question: multiple instances of same char device, Jon Dufresne, (Tue Jul 10, 6:06 am)