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

Wolfram Sang w.sang at pengutronix.de
Sat Oct 31 04:48:11 EST 2009


On Fri, Oct 30, 2009 at 06:36:15PM +0100, Wolfgang Grandegger wrote:
> 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.

I second Wolfgang's opinion. Pity I can't provide a suitable alternative.

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20091030/c36e2f43/attachment.pgp>


More information about the devicetree-discuss mailing list