Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7156713ybi; Mon, 8 Jul 2019 15:47:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyavyKur5r1GKmk+LSxEqCdlH1ysy02ATI0yUTpiLnykqf3vndZUV9dXwP+P2VjFxQPv/am X-Received: by 2002:a65:640a:: with SMTP id a10mr26181671pgv.338.1562626074564; Mon, 08 Jul 2019 15:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562626074; cv=none; d=google.com; s=arc-20160816; b=VL6qWk7UYoE/X7F5WkhOfoxGMrShReGgruORpgs9UTKrETcZAG4+mkIeFHDVXXIoq3 8mwq8NUqgX0goajWLhyeycAejdBGZ7zO4vu+sdWCYrNI6kZ/+L9SsD+tb91kaTZkyDOi /L1MmVHun7djN1rdleqn1KzB3HHNV5Jcb1tJAch39tc6GBFoEkxNv0U0jeRgKgcNfANJ 0j3uNx+Tlwu6d4eBkCphf7PHGKrXywDIBWxZRnv+Mhm211f+C2LtMJuHdXfoo5J5QvCo AJWGDeiXJtmJDhluLTvKZ+XKKgMkYmTv6TTuUgQbXmkGdXuC7tXdeVNzJlJD6Xzjr6un fmNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=r7i90gSQbv0V52rA0IPZMyoDPCam1uGz5+dIy+EwrPU=; b=BeQdWAeDhlQvqubDQY3dRIB4zCyT89gD9whhS+LNdBKNA23AAKv5hyo+POkvj4ska6 +aCIILEBwPkN8TRTlBkDSOGQq+Js8UaEJ0yEuc0GyC18nL6UtnjB27lfg5KPlqD13glS tgcEp0/iEklVn7pZmxNY1d0wH3IA1gWczSfkQC2Ob5RK/1vGbfskRfHZfLgE/AewtGdu KPVTJNmB7DrdtWg4iL4y4QN9ifuEcm35hLzHMTCKPrEuVuPmgp/prA3rwlgYpLXeL6s5 KzzqBQrFu8oqZl/KLfwqC5syy0PjoZSnQUA+F9j7iVr5eOtosazSE6RT9S0EpAU+zilY hBzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=first header.b=LL61Qi7p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q24si13119608pls.7.2019.07.08.15.47.40; Mon, 08 Jul 2019 15:47:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=first header.b=LL61Qi7p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731509AbfGHTDP (ORCPT + 99 others); Mon, 8 Jul 2019 15:03:15 -0400 Received: from first.geanix.com ([116.203.34.67]:59810 "EHLO first.geanix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728461AbfGHTDO (ORCPT ); Mon, 8 Jul 2019 15:03:14 -0400 Received: from zen.localdomain (unknown [85.184.140.241]) by first.geanix.com (Postfix) with ESMTPSA id 301FB1697; Mon, 8 Jul 2019 19:01:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1562612506; bh=eUvEBsk9YXwvgLqf5OTAVLdqkkv/UdScF9UtNiuiDbQ=; h=From:To:Cc:Subject:Date; b=LL61Qi7p2jP05T3Y3BEQuHJwXmHeMmp9QvAR3B0GXbrHcHnaaWkWXTvHeZ/+OlSU2 oCADjdMoiaiRc32JblBklePWBvUPedP/XhzcF3U3Csf15qGNGzltgW1PpCJIpaq0wI 6qFaWf6YkZzTshkZLP2BgHKfcx2rj7onNwVtUfwi5PlmxoBE4YNyK2d3219aMMXZVo 7RjUx3stbqkrlHLm3zNndygmBYpF506UYw0uoPnPStwO5Xa5t/U1QBwt2Q7l8jwe9P VzmJuJN9aSaA2z2F/5oUWIR1R5SJHMEVN8teR7upoZoLQqIn/qn9NY3OaweJjQl8si IbZpftWQjHOBA== From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= To: Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= , =?UTF-8?q?Sean=20Nyekj=C3=A6r?= , Esben Haabendal Subject: [PATCH 1/4] tty: n_gsm: remove obsolete mknod doc example Date: Mon, 8 Jul 2019 21:02:49 +0200 Message-Id: <20190708190252.24628-1-martin@geanix.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on 884f5ce5917a Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The n_gsm driver handles registration of /dev/gsmttyX nodes, so there's no need to do mknod manually. Signed-off-by: Martin Hundebøll --- Documentation/serial/n_gsm.rst | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Documentation/serial/n_gsm.rst b/Documentation/serial/n_gsm.rst index f3ad9fd26408..78f91ce06956 100644 --- a/Documentation/serial/n_gsm.rst +++ b/Documentation/serial/n_gsm.rst @@ -63,16 +63,6 @@ Major parts of the initialization program : daemon(0,0); pause(); -4. create the devices corresponding to the "virtual" serial ports (take care, - each modem has its configuration and some DLC have dedicated functions, - for example GPS), starting with minor 1 (DLC0 is reserved for the management - of the mux):: - - MAJOR=`cat /proc/devices |grep gsmtty | awk '{print $1}` - for i in `seq 1 4`; do - mknod /dev/ttygsm$i c $MAJOR $i - done - 5. use these devices as plain serial ports. for example, it's possible: -- 2.22.0