Hi,
On Fri, Oct 30, 2009 at 06:32:24PM +0100, 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:
> > c...@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 <[email protected]>
>
> 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.
> Wolfram has made me clear on this point already. sigh, always the pain with device tree. Since we can't do this in device tree and common platformdevices are also not there. I see little options for this. > What is your motivation to handle the interrupts in the interrupt context? > Mainly it should be useful for e.g. Realtimesystems since we can then control the priority of can isr for rx thread directly instead of relying on the net softirq...what ever... We need the stuff for a custom project and I want to give it a try for mainline. cheers Luotao Fu -- Pengutronix e.K. | Dipl.-Ing. Luotao Fu | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
signature.asc
Description: Digital signature
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
