From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DED58C433EF for ; Sat, 18 Jun 2022 18:03:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231361AbiFRSD2 (ORCPT ); Sat, 18 Jun 2022 14:03:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236383AbiFRSBy (ORCPT ); Sat, 18 Jun 2022 14:01:54 -0400 Received: from mail.enpas.org (zhong.enpas.org [46.38.239.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 37444CE23; Sat, 18 Jun 2022 11:01:52 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id D6E4F100029; Sat, 18 Jun 2022 18:01:50 +0000 (UTC) From: Max Staudt To: Greg Kroah-Hartman , Jiri Slaby Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, Max Staudt Subject: [PATCH] tty: Add N_CAN327 line discipline ID for ELM327 based CAN driver Date: Sat, 18 Jun 2022 20:01:34 +0200 Message-Id: <20220618180134.9890-1-max@enpas.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The actual driver will be added via the CAN tree. Signed-off-by: Max Staudt --- 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