Multiple cards best practice.

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

 



Hi all,

I'm writing a kernel driver for a project at the university - basically its a FPGA board connected to a PLX chip that acts as an PCI bus - which in in its turn is connected to a pc104 board.(stackable)

The detection of one card works well; but now we want to implement more then one of these stackable cards untop of each other and this is where the problem lies:

Whats the best method in a kernel point of view to support this. Should I just load the right module for the right card (there a 3 different versions; small differences) or is the when probing - making a linked list of all cards the best practice.

Second question then is; is there an example of how to detect multiple cards in one module?

Regards,

Jeffry




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux