public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta•com>
To: Oliver Hartkopp <socketcan@hartkopp•net>
Cc: Wolfgang Grandegger <wg@grandegger•com>,
	Linux Netdev List <netdev@vger•kernel.org>,
	linux-can@vger•kernel.org
Subject: Re: [PATCH] iproute2: update CAN bitrate SJW help text
Date: Mon, 17 Oct 2011 08:58:26 -0700	[thread overview]
Message-ID: <20111017085826.7a62ed11@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <4E9C4D29.7010302@hartkopp.net>

On Mon, 17 Oct 2011 17:43:37 +0200
Oliver Hartkopp <socketcan@hartkopp•net> wrote:

> 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 <socketcan@hartkopp•net>
> 
> ---
> 
> 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"

Please update man page as well.

  reply	other threads:[~2011-10-17 15:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17 15:43 [PATCH] iproute2: update CAN bitrate SJW help text Oliver Hartkopp
2011-10-17 15:58 ` Stephen Hemminger [this message]
2011-10-17 17:02   ` Oliver Hartkopp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111017085826.7a62ed11@nehalam.linuxnetplumber.net \
    --to=shemminger@vyatta$(echo .)com \
    --cc=linux-can@vger$(echo .)kernel.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=socketcan@hartkopp$(echo .)net \
    --cc=wg@grandegger$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox