Re: [RTnet-developers] shared interrupts with rtnet drivers
Brought to you by:
bet-frogger,
kiszka
|
From: Sebastian S. <sm...@rt...> - 2009-10-26 16:12:26
|
Jan Kiszka wrote: > Jan Kiszka wrote: > > Sebastian Smolorz wrote: > >> Hello Jan, > >> > >> is there a reason why the RTnet drivers don't request their interrupts > >> with flag RTDM_IRQTYPE_SHARED? We just stumbled over this fact when > >> trying to get a CAN and an ethernet card working under rtcan resp. > >> rtnet with both IRQ 17. > > > > This has historical reasons. Old Xenomai and RTAI versions did not > > support IRQ sharing. > > > > But I think we can now demand RTDM_API_VER >= 4 for RTnet (configure > > test) and add this bit to all drivers. Patches will be warmly welcomed. > > ...provided all drivers are safe /wrt IRQ sharing. No blind conversion > please, only after review, maybe for prominent drivers first. I could provide the result of a field test with the rt_natsemi driver. I'm lacking the time to go through the source code, however. Would you refuse the modification to the IRQ flag if we do not encounter any issues after the test? -- Sebastian |