[PATCH v4 1/1] can: add pruss CAN driver.
From: Alan Cox <hidden>
Date: 2011-05-10 10:27:08
Also in:
lkml, netdev
From: Alan Cox <hidden>
Date: 2011-05-10 10:27:08
Also in:
lkml, netdev
On Tue, 10 May 2011 15:41:49 +0530 "Subhasish Ghosh" [off-list ref] wrote:
quoted
quoted
It sounds to me like the best solution would be change the firmware to lift that restriction and simply allow all IDs, in case it's not actually a hardware limitation (which sounds unlikely).Yes, that would be best but they told us, that it's not possible with the available hardware resources. Subhasish?Yes, In case if we allow the ALL implementation, it hogs the CPU. In that case we do not need the PRU. The whole purpose of the PRU is to offload the processor for any such implementations.
So the kernel presumably needs to switch between using the PRU and native according to the number of ids being requested at the time ? That would be roughly what we do with other things (eg IP multicast) so that apps don't need to know all the innards