Multiple PCI boards that use the same driver

Hello everybody,

I have a question about using two (or more) PCI boards, that use the same comedi driver.
E.g. NI PCI-6024E and PCI-6025E (both use ni_pcimio).
My understanding is that I have to configure /dev/comedi0 and /dev/comedi1 by
# comedi_config /dev/comedi0 ni_pcimio
and 
# comedi_config /dev/comedi1 ni_pcimio

But can I control somehow that I want the 6024E to be on comedi0 and the 6025E to be on comedi1 or is this "random" in the way that it depends on the PCI function assignment (and thus by the placment in the PCI slot)?

Of course, the "backdoor" is to query the boardnames of the devices after they have been assigned.
However, what I want to know: 
Is there a way to define the assignment with comedi_config (e.g. by passing the board-name as parameter)?
 
Thanks for any hints on that topic

Mathias



-- 
Mathias Koehrer
mathias_koehrer_at_arcor.de

Received on 2004-04-21Z12:53:46