From patchwork Fri Feb 19 20:17:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 62383 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp8029lbl; Fri, 19 Feb 2016 12:18:07 -0800 (PST) X-Received: by 10.66.250.199 with SMTP id ze7mr20836194pac.103.1455913087859; Fri, 19 Feb 2016 12:18:07 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xp4si18440741pab.1.2016.02.19.12.18.07; Fri, 19 Feb 2016 12:18:07 -0800 (PST) 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; 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; dkim=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993535AbcBSUSF (ORCPT + 30 others); Fri, 19 Feb 2016 15:18:05 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:33233 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2993518AbcBSUSB (ORCPT ); Fri, 19 Feb 2016 15:18:01 -0500 Received: by mail-lf0-f48.google.com with SMTP id m1so61748762lfg.0 for ; Fri, 19 Feb 2016 12:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=U3rhJAuof6uTaOgYtDE1DUIJkz1TcaQtUckJgQg/KwY=; b=C1CGtscqp7kQCZdMwSFt/S44+i5ZEy8FlC0ht3xVmusGpZy3bLbVESRNvbBR0F7Xle aIfFEzgnWdNd9FvyJnTjVdBjX34gVVeqU8ctFTEiq12iuqhnm6o53jkfOk//SxoD5fPP VnnU5vxwp1/u+3kHHtw+q8NxK2dIRYpKtkB0U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=U3rhJAuof6uTaOgYtDE1DUIJkz1TcaQtUckJgQg/KwY=; b=TEJNhjszgbwPS69anFKdhbqK0v3HxVw+MjSoapAe1ibNNkv2I5yob3Oywg8XFECFi/ rlA1ahGuHgvgKclps5viBmlAw0cBbR7t5/od1T7ZRWx7A2+ExQomfUsbTrRjJzB0lHad YIWjLFQmZDCzx2t/AMsm9NJaqNll+rxJxpnuqgw/hefGL0UIJSQqHb7PkWv2z2aZgP4k j7yKxM1p4PDQUlyNLxMV7phSxabVf4tUTrM+ItT3YVDVAf8vptM1TYyah24lXd8zBT5v LRRWOklVNZ1by7kemlff9B1CPf/VcqAWx6bSPvsmLVM3cC33StEy9jKvBYmZJnsgQQU9 d2SA== X-Gm-Message-State: AG10YOQNLbZRwOU09ah5493aK46+gDw/X45NPr8ccRsXGFp7hyPTmBOb6USVbYm1+PZ9ZAB/ X-Received: by 10.25.32.65 with SMTP id g62mr6568365lfg.14.1455913080269; Fri, 19 Feb 2016 12:18:00 -0800 (PST) Received: from localhost.localdomain.localdomain (c-3d95db54.01-192-6c756e10.cust.bredbandsbolaget.se. [84.219.149.61]) by smtp.gmail.com with ESMTPSA id ay2sm1706687lbc.39.2016.02.19.12.17.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Feb 2016 12:17:59 -0800 (PST) From: Linus Walleij To: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Alan Cox , Arnd Bergmann , linux-doc@vger.kernel.org, Jonathan Corbet Cc: Linus Walleij , Linus Torvalds , Jens Axboe Subject: [PATCH] Documentation: update the devices.txt documentation Date: Fri, 19 Feb 2016 21:17:36 +0100 Message-Id: <1455913056-7109-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alan is no longer maintaining this list through the Linux assigned numbers authority. Make it a collective document by referring to "the maintainers" in plural throughout, and naming the chardev and block layer maintainers in particular as parties of involvement. Cut down and remove some sections that pertained to the process of maintaining the list at lanana.org and contacting Alan directly. Make it clear that this document, in the kernel, is the master document. Also move paragraphs around so as to emphasize dynamic major number allocation. Remove paragraph on 2.6 deprecation, that tag no longer appears anywhere in the file. Cc: Jonathan Corbet Cc: Linus Torvalds Cc: Greg Kroah-Hartman Cc: Alan Cox Cc: Arnd Bergmann Cc: Jens Axboe Signed-off-by: Linus Walleij --- Greg I guess this can go through the drivercore tree? --- CREDITS | 1 + Documentation/devices.txt | 80 +++++++++++++++-------------------------------- 2 files changed, 26 insertions(+), 55 deletions(-) -- 2.4.3 diff --git a/CREDITS b/CREDITS index a3887b59b9f9..a9622329e336 100644 --- a/CREDITS +++ b/CREDITS @@ -768,6 +768,7 @@ D: Z85230 driver D: Former security contact point (please use vendor-sec@lst.de) D: ex 2.2 maintainer D: 2.1.x modular sound +D: Assigned major/minor numbers maintainer at lanana.org S: c/o Red Hat UK Ltd S: Alexandra House S: Alexandra Terrace diff --git a/Documentation/devices.txt b/Documentation/devices.txt index f1c441e085e9..2a4242be2fcd 100644 --- a/Documentation/devices.txt +++ b/Documentation/devices.txt @@ -1,20 +1,17 @@ - LINUX ALLOCATED DEVICES (2.6+ version) - - Maintained by Alan Cox - - Last revised: 6th April 2009 + LINUX ALLOCATED DEVICES (4.x+ version) This list is the Linux Device List, the official registry of allocated device numbers and /dev directory nodes for the Linux operating system. -The latest version of this list is available from -http://www.lanana.org/docs/device-list/ or -ftp://ftp.kernel.org/pub/linux/docs/device-list/. This version may be -newer than the one distributed with the Linux kernel. - -The LaTeX version of this document is no longer maintained. +The LaTeX version of this document is no longer maintained, nor is +the document that used to reside at lanana.org. This version in the +mainline Linux kernel is the master document. Updates shall be sent +as patches to the kernel maintainers (see the SubmittingPatches document). +Specifically explore the sections titled "CHAR and MISC DRIVERS", and +"BLOCK LAYER" in the MAINTAINERS file to find the right maintainers +to involve for character and block devices. This document is included by reference into the Filesystem Hierarchy Standard (FHS). The FHS is available from http://www.pathname.com/fhs/. @@ -23,60 +20,33 @@ Allocations marked (68k/Amiga) apply to Linux/68k on the Amiga platform only. Allocations marked (68k/Atari) apply to Linux/68k on the Atari platform only. -The symbol {2.6} means the allocation is obsolete and scheduled for -removal once kernel version 2.6 (or equivalent) is released. Some of these -allocations have already been removed. - -This document is in the public domain. The author requests, however, +This document is in the public domain. The authors requests, however, that semantically altered versions are not distributed without -permission of the author, assuming the author can be contacted without +permission of the authors, assuming the authors can be contacted without an unreasonable effort. -In particular, please don't sent patches for this list to Linus, at -least not without contacting me first. - -I do not have any information about these devices beyond what appears -on this list. Any such information requests will be deleted without -reply. - **** DEVICE DRIVERS AUTHORS PLEASE READ THIS **** -To have a major number allocated, or a minor number in situations -where that applies (e.g. busmice), please contact me with the -appropriate device information. Also, if you have additional -information regarding any of the devices listed below, or if I have -made a mistake, I would greatly appreciate a note. - -I do, however, make a few requests about the nature of your report. -This is necessary for me to be able to keep this list up to date and -correct in a timely manner. First of all, *please* send it to the -correct address... . I receive hundreds of email -messages a day, so mail sent to other addresses may very well get lost -in the avalanche. Please put in a descriptive subject, so I can find -your mail again should I need to. Too many people send me email -saying just "device number request" in the subject. - -Second, please include a description of the device *in the same format -as this list*. The reason for this is that it is the only way I have -found to ensure I have all the requisite information to publish your -device and avoid conflicts. +Linux now has extensive support for dynamic allocation of device numbering +and can use sysfs and udev (systemd) to handle the naming needs. There are +still some exceptions in the serial and boot device area. Before asking +for a device number make sure you actually need one. -Third, please don't assume that the distributed version of the list is -up to date. Due to the number of registrations I have to maintain it -in "batch mode", so there is likely additional registrations that -haven't been listed yet. +To have a major number allocated, or a minor number in situations +where that applies (e.g. busmice), please submit a patch and send to +the authors as indicated above. -Fourth, remember that Linux now has extensive support for dynamic allocation -of device numbering and can use sysfs and udev to handle the naming needs. -There are still some exceptions in the serial and boot device area. Before -asking for a device number make sure you actually need one. +Keep the description of the device *in the same format +as this list*. The reason for this is that it is the only way we have +found to ensure we have all the requisite information to publish your +device and avoid conflicts. -Finally, sometimes I have to play "namespace police." Please don't be -offended. I often get submissions for /dev names that would be bound -to cause conflicts down the road. I am trying to avoid getting in a +Finally, sometimes we have to play "namespace police." Please don't be +offended. We often get submissions for /dev names that would be bound +to cause conflicts down the road. We are trying to avoid getting in a situation where we would have to suffer an incompatible forward -change. Therefore, please consult with me *before* you make your +change. Therefore, please consult with us *before* you make your device names and numbers in any way public, at least to the point where it would be at all difficult to get them changed.