From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Hartkopp Subject: [PATCH] iproute2: update CAN bitrate SJW help text Date: Mon, 17 Oct 2011 17:43:37 +0200 Message-ID: <4E9C4D29.7010302@hartkopp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Wolfgang Grandegger , Linux Netdev List , linux-can@vger.kernel.org To: Stephen Hemminger Return-path: Received: from mo-p00-ob.rzone.de ([81.169.146.161]:53777 "EHLO mo-p00-ob.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752452Ab1JQPnn (ORCPT ); Mon, 17 Oct 2011 11:43:43 -0400 Sender: netdev-owner@vger.kernel.org List-ID: The ip-tool from iproute2 already supports to pass a user defined SJW value for the in-kernel bittiming calculation. This patch updates the help text accordingly. Signed-off-by: Oliver Hartkopp --- diff --git a/ip/iplink_can.c b/ip/iplink_can.c index c8af4bc..00e7d98 100644 --- a/ip/iplink_can.c +++ b/ip/iplink_can.c @@ -23,7 +23,8 @@ static void usage(void) { fprintf(stderr, "Usage: ip link set DEVICE type can\n" - "\t[ bitrate BITRATE [ sample-point SAMPLE-POINT] ] | \n" + "\t[ bitrate BITRATE [ sample-point SAMPLE-POINT ] [ sjw SJW " + "] ] | \n" "\t[ tq TQ prop-seg PROP_SEG phase-seg1 PHASE-SEG1\n " "\t phase-seg2 PHASE-SEG2 [ sjw SJW ] ]\n" "\n"