[Socketcan-users] [PATCH] mscan: add non-polling rx

Wolfgang Grandegger wg at grandegger.com
Sat Oct 31 04:36:15 EST 2009


Wolfgang Grandegger wrote:
> Luotao Fu wrote:
>> This one adds an option to turn of napi and process rx directly in mscan isr. As
>> for mpc52xx this feature can be turned on by setting a rx-irq property int the
>> device tree, e.g:
>> can at 980 {
>>     compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
>>     interrupts = <2 18 0>;
>>     rx-irq;
>>     reg = <0x980 0x80>;
>> };
>> Default is the polling rx.
>>
>> Signed-off-by: Luotao Fu <l.fu at pengutronix.de>
> 
> This has little chance to be accepted as the device tree is about
> hardware. It should not be used to tell the driver what to do (software
> settings). I have CCed the devicetree-discuss ML for clarification.

Forgot the CC to devicetree-discuss at lists.ozlabs.org

Wolfgang.


More information about the devicetree-discuss mailing list