Messages in this thread | | | Date | Wed, 27 Jul 2022 13:30:54 +0200 | From | Marc Kleine-Budde <> | Subject | Re: [RFC PATCH v3 8/9] can: slcan: add support to set bit time register (btr) |
| |
On 26.07.2022 23:02:16, Dario Binacchi wrote: > It allows to set the bit time register with tunable values. > The setting can only be changed if the interface is down: > > ip link set dev can0 down > ethtool --set-tunable can0 can-btr 0x31c > ip link set dev can0 up
As far as I understand, setting the btr is an alternative way to set the bitrate, right? I don't like the idea of poking arbitrary values into a hardware from user space.
Do you have a use case for this?
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 | [unhandled content-type:application/pgp-signature] | |