[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110928.134310.850080171959236853.davem@redhat.com>
Date: Wed, 28 Sep 2011 13:43:10 -0400 (EDT)
From: David Miller <davem@...hat.com>
To: socketcan@...tkopp.net
Cc: netdev@...r.kernel.org, wg@...ndegger.com,
socketcan-core@...ts.berlios.de
Subject: Re: [PATCH net-next v3] candev: allow SJW user setting for
bittiming calculation
From: Oliver Hartkopp <socketcan@...tkopp.net>
Date: Wed, 28 Sep 2011 14:50:11 +0200
> This patch adds support for SJW user settings to not set the synchronization
> jump width (SJW) to 1 in any case when using the in-kernel bittiming
> calculation.
>
> The ip-tool from iproute2 already supports to pass the user defined SJW
> value. The given SJW value is sanitized with the controller specific sjw_max
> and the calculated tseg2 value. As the SJW can have values up to 4 providing
> this value will lead to the maximum possible SJW automatically. A higher SJW
> allows higher controller oscillator tolerances.
>
> Signed-off-by: Oliver Hartkopp <socketcan@...tkopp.net>
> Acked-by: Wolfgang Grandegger <wg@...ndegger.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists