Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: Add Flow control,

From: Tomoya MORINAGA
Date: Fri Nov 19 2010 - 02:37:25 EST


On Tuesday, November 16, 2010 7:16 PM, Wolfgang Grandegger wrote :

> > ......It seems the same line continues forever.
>
> Yes, it will continue until you connect the cable, that's normal
> behavior. But that's not the full sequence. Could you please repeat the
> test as shown below:
>
> First start the following command in a *separate* session.
> # candump any,0:0,#FFFFFFFF"
>
> Then setup and start the CAN controller:
> # ip link set can0 up type can bitrate 125000
> # cansend can0 123#deadbeef
>

I show the result of the above command below,

[root@localhost can-utils]# candump any,0:0,#FFFFFFFF
can0 20000020 [8] 00 00 00 00 00 00 08 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 10 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 18 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 20 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 28 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 30 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 38 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 40 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 48 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 50 00 ERRORFRAME
can0 20000020 [8] 00 00 00 00 00 00 58 00 ERRORFRAME
can0 20000024 [8] 00 00 00 00 00 00 60 00 ERRORFRAME
can0 20000024 [8] 00 08 00 00 00 00 68 00 ERRORFRAME
can0 20000024 [8] 00 08 00 00 00 00 70 00 ERRORFRAME
can0 20000024 [8] 00 08 00 00 00 00 78 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME
can0 20000024 [8] 00 28 00 00 00 00 80 00 ERRORFRAME

.....continue forever

------
Thanks,

Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/