Re: [PATCH v2 0/3] can: gs_usb: cleanups and termination support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18.09.2022 22:00:35, Trevitz, Daniel wrote:
> Is there a place to document this?

Please add it to the SocketCAN documentation:

| https://github.com/torvalds/linux/blob/master/Documentation/networking/can.rst

> Example setting termination state:
> 	on: ip link set dev can0 type can termination 120
> 	off: ip link set dev can0 type can termination 0
> 
> Read the state:
> 	ip -details link show can0 
> 
> 58: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN mode DEFAULT group default qlen 10
>     link/can  promiscuity 0 minmtu 0 maxmtu 0 
>     can state STOPPED restart-ms 0 
>           gs_usb: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..1024 brp_inc 1
>           termination 120 [ 0, 120
>           clock 48000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 gro_max_size 65536 parentbus usb parentdev 3-12.2:1.0

A patch against this file on this mailing list is preferred, please
include your Signed-off-by. For details see:

| https://github.com/marckleinebudde/linux/blob/master/Documentation/process/submitting-patches.rst#sign-your-work---the-developers-certificate-of-origin

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux