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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wolfgang Grandegger
Date: Friday, November 19, 2010 - 1:57 am

Hi Tomoya,

On 11/19/2010 08:36 AM, Tomoya MORINAGA wrote:

The above lines describe bus errors. Therefore it should be

    can0  20000088  [8] 00 00 80 19 00 00 58 00   ERRORFRAME


The TX error counter has reached 96 signaling a can error state change
to "error warning".


CAN_ERR_CRTL in the id and CAN_ERR_CRTL_TX_WARNING in data[1], but ...


the state change should be signaled only *once*.


"Error passive" state is reached and CAN_ERR_CRTL_TX_PASSIVE sould be
set in data[1], but CAN_ERR_CRTL_TX_WARNING should be removed.


Sounds magic, well, I'm going to prepare a patch as soon as your pending
patch series is applied.

Could you please do the same testing while triggering a bus-off? After
the test, the output of "ip -d -s link" would be interesting as well.

Thanks,

Wolfgang.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: ..., Marc Kleine-Budde, (Mon Nov 15, 2:11 am)
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: ..., Marc Kleine-Budde, (Mon Nov 15, 2:37 am)
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: ..., Wolfgang Grandegger, (Mon Nov 15, 7:21 am)
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: ..., Marc Kleine-Budde, (Tue Nov 16, 1:14 am)
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: ..., Wolfgang Grandegger, (Tue Nov 16, 3:16 am)
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: ..., Wolfgang Grandegger, (Fri Nov 19, 1:57 am)