Am 12.10.2010 03:55, Peter Pastor wrote:
> Hey Wolfgang,
> 
> I made some great progress in the last few hours. I figured that the PEAK
> PCI can bus card had IRQ 11 according to "lspci" and after the kernel
> modules are loaded it switched to IRQ 16 which caused all the trouble since
> the USB and the SCSI controller have the same IRQ.
> 
> Now, I just went ahead and hard coded
> 
> /usr/src/xenomai/ksrc/drivers/can/sja1000/rtcan_sja1000.c
> FUNCTION rtcan_sja1000_register...
> #############
> 
>     chip->bus_err_on = 1;
> 
>     printk("PETER chip->irq_num = %i\n", chip->irq_num);
>     chip->irq_num = 11;
>     printk("PETER chip->irq_num = %i\n", chip->irq_num);
> 
>     ret = rtdm_irq_request(&dev->irq_handle,
>                chip->irq_num, rtcan_sja_interrupt,
>                chip->irq_flags, sja_ctrl_name, dev);

You can't change reality (physical wiring) this way.

If you do not need the USB interface, unbind the driver so that the
Linux IRQ usage ends:

echo 0000:00:1a.0 > /sys/bus/pci/drivers/ehci_hcd/unbind
     ^^^^^^^^^^^^
(fill in the according PCI ID)

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to