Skip to content
Snippets Groups Projects
Federico Vaga's avatar
Federico Vaga authored
Problem:
if you declare the first vmod module with LUN=2 (or any number grater than 0)
then the driver will not load the mezzanines.

The real device instance is stored in device_table according to its LUN.
This means that we have to loop over all the table to find the correct
instance. Before the condition was the device instances counter.

Signed-off-by: default avatarFederico Vaga <federico.vaga@cern.ch>
3c0d8c38
History