linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tty: Add N_CAN327 line discipline ID for ELM327 based CAN driver
@ 2022-06-18 18:01 Max Staudt
  2022-06-19  8:05 ` Marc Kleine-Budde
  2022-06-27 13:56 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 3+ messages in thread
From: Max Staudt @ 2022-06-18 18:01 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby; +Cc: linux-can, linux-kernel, Max Staudt

The actual driver will be added via the CAN tree.

Signed-off-by: Max Staudt <max@enpas.org>
---
Dear TTY maintainers,

The CAN people (well, a subset) have spoken and decided to accept the
can327 driver (formerly elmcan), an ldisc based CAN driver allowing CAN
experiments with commodity hardware.

After several rounds of reviews, the final condition is for you to
accept this patch for N_CAN327, so here goes - please add this new line
discipline to the list, and once this filters through, the driver itself
will be added to can-next :)


Thanks!

Max

---
 include/uapi/linux/tty.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/uapi/linux/tty.h b/include/uapi/linux/tty.h
index 9d0f06bfbac3..68aeae2addec 100644
--- a/include/uapi/linux/tty.h
+++ b/include/uapi/linux/tty.h
@@ -38,8 +38,9 @@
 #define N_NULL		27	/* Null ldisc used for error handling */
 #define N_MCTP		28	/* MCTP-over-serial */
 #define N_DEVELOPMENT	29	/* Manual out-of-tree testing */
+#define N_CAN327	30	/* ELM327 based OBD-II interfaces */
 
 /* Always the newest line discipline + 1 */
-#define NR_LDISCS	30
+#define NR_LDISCS	31
 
 #endif /* _UAPI_LINUX_TTY_H */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] tty: Add N_CAN327 line discipline ID for ELM327 based CAN driver
  2022-06-18 18:01 [PATCH] tty: Add N_CAN327 line discipline ID for ELM327 based CAN driver Max Staudt
@ 2022-06-19  8:05 ` Marc Kleine-Budde
  2022-06-27 13:56 ` Greg Kroah-Hartman
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2022-06-19  8:05 UTC (permalink / raw)
  To: Max Staudt; +Cc: Greg Kroah-Hartman, Jiri Slaby, linux-can, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

On 18.06.2022 20:01:34, Max Staudt wrote:
> The actual driver will be added via the CAN tree.
> 
> Signed-off-by: Max Staudt <max@enpas.org>

Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] tty: Add N_CAN327 line discipline ID for ELM327 based CAN driver
  2022-06-18 18:01 [PATCH] tty: Add N_CAN327 line discipline ID for ELM327 based CAN driver Max Staudt
  2022-06-19  8:05 ` Marc Kleine-Budde
@ 2022-06-27 13:56 ` Greg Kroah-Hartman
  1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2022-06-27 13:56 UTC (permalink / raw)
  To: Max Staudt; +Cc: Jiri Slaby, linux-can, linux-kernel

On Sat, Jun 18, 2022 at 08:01:34PM +0200, Max Staudt wrote:
> The actual driver will be added via the CAN tree.
> 
> Signed-off-by: Max Staudt <max@enpas.org>
> ---
> Dear TTY maintainers,
> 
> The CAN people (well, a subset) have spoken and decided to accept the
> can327 driver (formerly elmcan), an ldisc based CAN driver allowing CAN
> experiments with commodity hardware.
> 
> After several rounds of reviews, the final condition is for you to
> accept this patch for N_CAN327, so here goes - please add this new line
> discipline to the list, and once this filters through, the driver itself
> will be added to can-next :)

Great, will go to Linus before 5.19-final is out.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-27 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-18 18:01 [PATCH] tty: Add N_CAN327 line discipline ID for ELM327 based CAN driver Max Staudt
2022-06-19  8:05 ` Marc Kleine-Budde
2022-06-27 13:56 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).