Stefan Kisdaroczi wrote:
> Hi Wolfgang,
> 
> Wolfgang Grandegger schrieb:
>> [...]
>>>> dmesg output, there is no IXXAT-PCI-CAN board installed:
>>>>> RT-Socket-CAN 0.90.2 - (C) 2006 RT-Socket-CAN Development Team
>>>>> RTCAN SJA1000 driver initialized
>>>>> PCI: setting IRQ 12 as level-triggered
>>>>> IXXAT-PCI-CAN 0000:00:11.0: found PCI INT A -> IRQ 12
>>>>> IXXAT-PCI-CAN: Initializing device 10b5:9050:2503
>> OK, it finding a variant of the PLX9050, but it will not use the device  
>> because of the following lines after the above printout:
>>
>>     if (sub_sys_id != IXXAT_PCI_SUB_SYS_ID)
>>              return -ENODEV;
>>                 
>> But ...
>>
>>>> The following patch fixed it for me (my own driver loads again).
>> ... obviously it does  not probe again.
> 
> it probes again, but pci_request_regions() failed in my driver.
> 
> In the -ENODEV case, the function pci_release_regions() is not
> called in the ixxat driver, so access is blocked for other drivers.

That's a bug. Will fix.

Thanks,

Wolfgang.

_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to