Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1511535iog; Sat, 18 Jun 2022 11:28:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ttWNGsWtD+EwxGtTUHsl1TiKrvQU71r86qpp4NnRRzSqlgf4iLlLwH/u1hB4Wn6Jk495xH X-Received: by 2002:aa7:dbd7:0:b0:433:55a6:e3c4 with SMTP id v23-20020aa7dbd7000000b0043355a6e3c4mr20123807edt.74.1655576896442; Sat, 18 Jun 2022 11:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655576896; cv=none; d=google.com; s=arc-20160816; b=Digq713NtWU8xXnm3RxPZ1OLF8nQCmh8vumbMh6V67QCtakMNuDuGU7En0pD0fbWue EjUHrYzKCqS2SgPy4iuPnMdubtKUF/c2UP8xrnnwiock5SyyBW3Pp5kKdnDP0b+63Ntq aT8mj5wzKBmGbmtscxJtharQ7Wk1pDK2X7w5CyJShDKZmuxWO7jFLgrD/HKQwFQ1y5fo VHliY+NuUqDbEfHx3jOewhr6IiT7kdc7ttTxgH1VoEJ35/sacpfByKPBjdAvJzRDEuL7 Y+y4BUEVTYaFKfzzj+4+t3Gzu5LVnoOMBGeFZdv9tvNDihs0iVCI3t+aaE1MJ0RATcvS 38RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=lyeOal8M8oANDByLK86OC0FU5F+/MVTpxzWyr+VctTI=; b=WO7O1E1S5vTgC3FST2oW9Dy/YCcTCPqfZutvffuHQaxCWwXv9vJ0fBW+nHYeiyZwk8 psrJuF8HZLoGX0piU4n2WHsMNv4msCPwjWXtdCSmtGfNR4KSJb+g5NMSwX4ZY6qU7MGo 6NPQ14HRAYwQK0lxgeoZoaVIeNlyEW1xpPVQ5N2DSSni8GgnKYj9GhpHLyiKzhHL7Glo a/0AMGmCwcV8zYjBW90K+R4IrV35obsXC9EsX2xc/zd+ZFxB0siHyUjyyiYnirJSIwCm +EV1YxVdF7u1ZUw/VYBCLvrzRAB+DJe3p3nOdUmH7svIe6lo6kunSNNoyzTmIWgx15/a Azqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds18-20020a170907725200b0071c976851f7si3976805ejc.406.2022.06.18.11.27.39; Sat, 18 Jun 2022 11:28:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbiFRSD1 (ORCPT + 99 others); Sat, 18 Jun 2022 14:03:27 -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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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