Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Systematize handling of removed drivers.
details: https://anonhg.NetBSD.org/src/rev/929254a35d4e
branches: trunk
changeset: 448270:929254a35d4e
user: dholland <dholland%NetBSD.org@localhost>
date: Mon Jan 28 02:28:56 2019 +0000
description:
Systematize handling of removed drivers.
- Every driver that was removed and whose number hasn't already been
reused is now listed with a commented-out "obsolete" line.
- The format of these has been systematized. Future format changes can
probably be safely done with a script.
- This does not include a few cases of assignments that only lasted a
couple days, or stuff from before major reorgs. Some of these may
be included nonetheless, because there was a lot of ground to cover
and therefore not a lot of time to dig into history in detail.
Note that the obsolete listings do not mean the major numbers can
never be reused; that's up to portmasters and/or core. It does mean
that they won't be reused by accident, however, which in some cases
(depending on the driver, how widely used it was, its family of device
nodes, their default permissions, etc.) can be quite dangerous.
Note that some of the things now explicitly listed as obsolete are
really ancient history. My scan went back as far as when the majors
files were added. (But not before that.)
diffstat:
sys/arch/aarch64/conf/majors.aarch64 | 8 ++++++-
sys/arch/acorn32/conf/majors.acorn32 | 22 +++++++++++++++++++-
sys/arch/algor/conf/majors.algor | 10 ++++++++-
sys/arch/alpha/conf/majors.alpha | 12 +++++++++-
sys/arch/amd64/conf/majors.amd64 | 14 +++++++++++-
sys/arch/amiga/conf/majors.amiga | 12 +++++++++-
sys/arch/amigappc/conf/majors.amigappc | 8 ++++++-
sys/arch/arc/conf/majors.arc | 9 +++++++-
sys/arch/arm/conf/majors.arm32 | 13 ++++++++++-
sys/arch/atari/conf/majors.atari | 10 ++++++++-
sys/arch/bebox/conf/majors.bebox | 16 +++++++++++---
sys/arch/cesfic/conf/majors.cesfic | 6 ++++-
sys/arch/cobalt/conf/majors.cobalt | 9 +++++++-
sys/arch/dreamcast/conf/majors.dreamcast | 6 ++++-
sys/arch/epoc32/conf/majors.epoc32 | 8 ++++++-
sys/arch/evbcf/conf/majors.evbcf | 3 +-
sys/arch/evbmips/conf/majors.evbmips | 15 ++++++++++++-
sys/arch/evbppc/conf/majors.evbppc | 9 +++++++-
sys/arch/evbsh3/conf/majors.evbsh3 | 7 +++++-
sys/arch/ews4800mips/conf/majors.ews4800mips | 4 ++-
sys/arch/hp300/conf/majors.hp300 | 12 +++++++---
sys/arch/hpcarm/conf/majors.hpcarm | 10 ++++++++-
sys/arch/hpcmips/conf/majors.hpcmips | 10 ++++++++-
sys/arch/hpcsh/conf/majors.hpcsh | 4 ++-
sys/arch/i386/conf/majors.i386 | 27 ++++++++++++++++++-------
sys/arch/ia64/conf/majors.ia64 | 24 +++++++++++++++-------
sys/arch/ibmnws/conf/majors.ibmnws | 11 +++++++++-
sys/arch/landisk/conf/majors.landisk | 4 ++-
sys/arch/luna68k/conf/majors.luna68k | 4 ++-
sys/arch/mac68k/conf/majors.mac68k | 5 +++-
sys/arch/mipsco/conf/majors.mipsco | 6 ++++-
sys/arch/mmeye/conf/majors.mmeye | 7 +++++-
sys/arch/mvme68k/conf/majors.mvme68k | 7 +++++-
sys/arch/mvmeppc/conf/majors.mvmeppc | 12 ++++++++++-
sys/arch/news68k/conf/majors.news68k | 5 +++-
sys/arch/newsmips/conf/majors.newsmips | 5 +++-
sys/arch/next68k/conf/majors.next68k | 6 ++++-
sys/arch/playstation2/conf/majors.playstation2 | 5 +++-
sys/arch/pmax/conf/majors.pmax | 8 ++++++-
sys/arch/powerpc/conf/majors.powerpc | 11 ++++++++-
sys/arch/prep/conf/majors.prep | 14 +++++++++++-
sys/arch/riscv/conf/majors.riscv | 8 ++++++-
sys/arch/sgimips/conf/majors.sgimips | 12 ++++++++++-
sys/arch/shark/conf/majors.shark | 11 ++++++++-
sys/arch/sparc/conf/majors.sparc | 15 ++++++++++++-
sys/arch/sparc64/conf/majors.sparc64 | 15 ++++++++++++-
sys/arch/sun2/conf/majors.sun2 | 7 +++++-
sys/arch/sun3/conf/majors.sun3 | 7 +++++-
sys/arch/vax/conf/majors.vax | 3 +-
sys/arch/x68k/conf/majors.x68k | 12 +++++++++-
sys/arch/zaurus/conf/majors.zaurus | 10 ++++++++-
51 files changed, 415 insertions(+), 83 deletions(-)
diffs (truncated from 1926 to 300 lines):
diff -r 91882a4002b1 -r 929254a35d4e sys/arch/aarch64/conf/majors.aarch64
--- a/sys/arch/aarch64/conf/majors.aarch64 Mon Jan 28 02:25:01 2019 +0000
+++ b/sys/arch/aarch64/conf/majors.aarch64 Mon Jan 28 02:28:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors.aarch64,v 1.3 2018/09/23 09:21:01 maxv Exp $
+# $NetBSD: majors.aarch64,v 1.4 2019/01/28 02:28:56 dholland Exp $
#
# Device majors for arm32
#
@@ -72,6 +72,11 @@
device-major uscanner char 76 uscanner
device-major openfirm char 77 openfirm
device-major biconsdev char 78 biconsdev
+#device-major obsolete char 79 obsolete (isdn)
+#device-major obsolete char 80 obsolete (isdnctl)
+#device-major obsolete char 81 obsolete (isdnbchan)
+#device-major obsolete char 82 obsolete (isdntrc)
+#device-major obsolete char 83 obsolete (isdntel)
device-major sacom char 84 sacom
device-major mly char 85 mly
device-major wsfont char 86 wsfont
@@ -94,6 +99,7 @@
device-major sscom char 104 sscom
device-major imxcom char 104 imxuart
device-major ksyms char 105 ksyms
+#device-major obsolete char 106 obsolete (isdnbchan)
device-major epcom char 107 epcom
device-major tslcd char 108 tslcd
device-major twe char 109 twe
diff -r 91882a4002b1 -r 929254a35d4e sys/arch/acorn32/conf/majors.acorn32
--- a/sys/arch/acorn32/conf/majors.acorn32 Mon Jan 28 02:25:01 2019 +0000
+++ b/sys/arch/acorn32/conf/majors.acorn32 Mon Jan 28 02:28:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors.acorn32,v 1.26 2018/09/23 09:21:01 maxv Exp $
+# $NetBSD: majors.acorn32,v 1.27 2019/01/28 02:28:56 dholland Exp $
#
# Device majors for acorn32
#
@@ -7,12 +7,15 @@
device-major swap char 1 block 1 vmswap
device-major cons char 2
device-major ctty char 3
+#device-major obsolete char 4 obsolete (physcon)
device-major log char 5
device-major ptc char 6 pty
device-major pts char 7 pty
device-major lpt char 8 lpt
-
+#device-major obsolete char 9 obsolete (qms)
+#device-major obsolete char 10 obsolete (beep)
+#device-major obsolete char 11 obsolete (kbd)
device-major com char 12 com
device-major wd char 16 block 16 wd
@@ -33,7 +36,14 @@
device-major bpf char 32 bpfilter
device-major tun char 33 tun
device-major filedesc char 34
+#device-major obsolete char 35 obsolete (lkm)
device-major audio char 36 audio
+#device-major obsolete char 37 obsolete (vidcconsole)
+
+#device-major obsolete char 40 obsolete (opms)
+
+#device-major obsolete char 42 obsolete (iic)
+#device-major obsolete char 43 obsolete (rtc)
device-major ipl char 46 ipfilter
@@ -52,10 +62,18 @@
device-major wsmux char 73 wsmux
+#device-major obsolete char 79 obsolete (isdn)
+#device-major obsolete char 80 obsolete (isdnctl)
+#device-major obsolete char 81 obsolete (isdnbchan)
+#device-major obsolete char 82 obsolete (isdntrc)
+#device-major obsolete char 83 obsolete (isdntel)
device-major clockctl char 84 clockctl
+#device-major obsolete char 85 obsolete (systrace)
device-major ksyms char 86 ksyms
device-major wsfont char 87 wsfont
device-major nsmb char 88 nsmb
+#device-major obsolete char 89 obsolete (pf)
+#device-major obsolete char 90 obsolete (opencrypto)
# Majors up to 143 are reserved for machine-dependent drivers.
# New machine-independent driver majors are assigned in
diff -r 91882a4002b1 -r 929254a35d4e sys/arch/algor/conf/majors.algor
--- a/sys/arch/algor/conf/majors.algor Mon Jan 28 02:25:01 2019 +0000
+++ b/sys/arch/algor/conf/majors.algor Mon Jan 28 02:28:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors.algor,v 1.26 2019/01/27 17:59:22 dholland Exp $
+# $NetBSD: majors.algor,v 1.27 2019/01/28 02:28:56 dholland Exp $
#
# Device majors for algor
#
@@ -19,6 +19,7 @@
device-major cd char 13 block 3 cd
device-major ch char 14 ch
+#device-major obsolete char 16 obsolete (lkm)
device-major audio char 24 audio
device-major wsdisplay char 25 wsdisplay
@@ -37,6 +38,7 @@
#device-major obsolete char 38 obsolete (satlink)
device-major rnd char 39 rnd
+#device-major obsolete char 41 obsolete (spkr)
device-major scsibus char 42 scsibus
device-major raid char 43 block 16 raid
device-major esh char 44 esh
@@ -46,6 +48,11 @@
device-major ugen char 48 ugen
device-major midi char 49 midi
device-major sequencer char 50 sequencer
+#device-major obsolete char 51 obsolete (isdn)
+#device-major obsolete char 52 obsolete (isdnctl)
+#device-major obsolete char 53 obsolete (isdnbchan)
+#device-major obsolete char 54 obsolete (isdntrc)
+#device-major obsolete char 55 obsolete (isdntel)
device-major wsmux char 56 wsmux
device-major ucom char 57 ucom
device-major ses char 58 ses
@@ -57,6 +64,7 @@
device-major altq char 64 altq
device-major mlx char 65 mlx
device-major clockctl char 66 clockctl
+#device-major obsolete char 67 obsolete (systrace)
device-major cgd char 68 block 18 cgd
device-major ksyms char 69 ksyms
device-major wsfont char 70 wsfont
diff -r 91882a4002b1 -r 929254a35d4e sys/arch/alpha/conf/majors.alpha
--- a/sys/arch/alpha/conf/majors.alpha Mon Jan 28 02:25:01 2019 +0000
+++ b/sys/arch/alpha/conf/majors.alpha Mon Jan 28 02:28:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors.alpha,v 1.33 2019/01/27 17:59:22 dholland Exp $
+# $NetBSD: majors.alpha,v 1.34 2019/01/28 02:28:56 dholland Exp $
#
# Device majors for alpha
#
@@ -19,6 +19,7 @@
device-major cd char 13 block 3 cd
device-major ch char 14 ch
device-major zstty char 15 zstty
+#device-major obsolete char 16 obsolete (lkm)
device-major prom char 23
device-major audio char 24 audio
@@ -37,7 +38,8 @@
device-major se char 37 se
#device-major obsolete char 38 obsolete (satlink)
device-major rnd char 39 rnd
-#device-major obsolete char 40 obsolete
+#device-major obsolete char 40 obsolete (a12dc)
+#device-major obsolete char 41 obsolete (spkr)
device-major scsibus char 42 scsibus
device-major raid char 43 block 16 raid
device-major esh char 44 esh
@@ -47,6 +49,11 @@
device-major ugen char 48 ugen
device-major midi char 49 midi
device-major sequencer char 50 sequencer
+#device-major obsolete char 51 obsolete (isdn)
+#device-major obsolete char 52 obsolete (isdnctl)
+#device-major obsolete char 53 obsolete (isdnbchan)
+#device-major obsolete char 54 obsolete (isdntrc)
+#device-major obsolete char 55 obsolete (isdntel)
device-major wsmux char 56 wsmux
device-major ucom char 57 ucom
device-major ses char 58 ses
@@ -61,6 +68,7 @@
device-major agp char 67 agp
device-major stic char 68 stic
device-major clockctl char 69 clockctl
+#device-major obsolete char 70 obsolete (systrace)
device-major bktr char 71 bktr
device-major kttcp char 72 kttcp
device-major cgd char 73 block 18 cgd
diff -r 91882a4002b1 -r 929254a35d4e sys/arch/amd64/conf/majors.amd64
--- a/sys/arch/amd64/conf/majors.amd64 Mon Jan 28 02:25:01 2019 +0000
+++ b/sys/arch/amd64/conf/majors.amd64 Mon Jan 28 02:28:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors.amd64,v 1.31 2019/01/27 17:59:22 dholland Exp $
+# $NetBSD: majors.amd64,v 1.32 2019/01/28 02:28:56 dholland Exp $
#
# Device majors for amd64
#
@@ -14,7 +14,7 @@
device-major com char 8 com
device-major fd char 9 block 2 fdc
device-major wt char 10 block 3 wt
-#device-major scd char 11 block 15 scd
+#device-major obsolete char 11 block 15 obsolete (scd)
device-major pc char 12 pc
device-major sd char 13 block 4 sd
device-major st char 14 block 5 st
@@ -29,17 +29,26 @@
device-major bpf char 23 bpfilter
device-major md char 24 block 17 md
+#device-major obsolete char 27 obsolete (spkr)
+#device-major obsolete char 28 obsolete (lkm)
+
device-major cy char 38 cy
device-major mcd char 39 block 7 mcd
device-major tun char 40 tun
device-major vnd char 41 block 14 vnd
device-major audio char 42 audio
+#device-major obsolete char 43 obsolete (compat_svr4)
device-major ipl char 44 ipfilter
#device-major obsolete char 45 obsolete (satlink)
device-major rnd char 46 rnd
device-major wsdisplay char 47 wsdisplay
device-major wskbd char 48 wskbd
device-major wsmouse char 49 wsmouse
+#device-major obsolete char 50 obsolete (isdn)
+#device-major obsolete char 51 obsolete (isdnctl)
+#device-major obsolete char 52 obsolete (isdnbchan)
+#device-major obsolete char 53 obsolete (isdntrc)
+#device-major obsolete char 54 obsolete (isdntel)
device-major usb char 55 usb
device-major uhid char 56 uhid
device-major ulpt char 57 ulpt
@@ -65,6 +74,7 @@
device-major altq char 77 altq
device-major mlx char 78 mlx
device-major clockctl char 79 clockctl
+#device-major obsolete char 80 obsolete (systrace)
device-major cgd char 81 block 20 cgd
device-major agp char 82 agp
device-major pci char 83 pci
diff -r 91882a4002b1 -r 929254a35d4e sys/arch/amiga/conf/majors.amiga
--- a/sys/arch/amiga/conf/majors.amiga Mon Jan 28 02:25:01 2019 +0000
+++ b/sys/arch/amiga/conf/majors.amiga Mon Jan 28 02:28:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors.amiga,v 1.25 2018/12/19 13:57:45 maxv Exp $
+# $NetBSD: majors.amiga,v 1.26 2019/01/28 02:28:56 dholland Exp $
#
# Device majors for amiga
#
@@ -27,6 +27,7 @@
device-major filedesc char 21
device-major bpf char 22 bpfilter
device-major tun char 23 tun
+#device-major obsolete char 24 obsolete (lkm)
device-major msc char 31 msc
device-major com char 32 com
@@ -41,15 +42,22 @@
device-major rnd char 42 rnd
device-major md char 43 block 15 md
device-major scsibus char 44 scsibus
+#device-major obsolete char 45 obsolete (isdn)
+#device-major obsolete char 46 obsolete (isdnctl)
+#device-major obsolete char 47 obsolete (isdnbchan)
+#device-major obsolete char 48 obsolete (isdntrc)
+#device-major obsolete char 49 obsolete (isdntel)
device-major raid char 50 block 16 raid
+#device-major obsolete char 51 obsolete (compat_svr4)
device-major wd char 52 block 17 wd
device-major wsdisplay char 53 wsdisplay
device-major wskbd char 54 wskbd
device-major clockctl char 55 clockctl
+#device-major obsolete char 56 obsolete (systrace)
device-major cgd char 57 block 18 cgd
device-major ksyms char 58 ksyms
device-major nsmb char 59 nsmb
-
+#device-major obsolete char 60 obsolete (opencrypto)
device-major wsmouse char 61 wsmouse
device-major wsfont char 62 wsfont
device-major wsmux char 63 wsmux
diff -r 91882a4002b1 -r 929254a35d4e sys/arch/amigappc/conf/majors.amigappc
--- a/sys/arch/amigappc/conf/majors.amigappc Mon Jan 28 02:25:01 2019 +0000
+++ b/sys/arch/amigappc/conf/majors.amigappc Mon Jan 28 02:28:56 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors.amigappc,v 1.7 2018/12/19 13:57:46 maxv Exp $
+# $NetBSD: majors.amigappc,v 1.8 2019/01/28 02:28:57 dholland Exp $
#
# Device majors for amigappc
#
@@ -41,7 +41,13 @@
device-major rnd char 42 rnd
device-major md char 43 block 15 md
device-major scsibus char 44 scsibus
+#device-major obsolete char 45 obsolete (isdn)
+#device-major obsolete char 46 obsolete (isdnctl)
+#device-major obsolete char 47 obsolete (isdnbchan)
+#device-major obsolete char 48 obsolete (isdntrc)
+#device-major obsolete char 49 obsolete (isdntel)
device-major raid char 50 block 16 raid
+#device-major obsolete char 51 obsolete (compat_svr4)
device-major wd char 52 block 17 wd
device-major wsdisplay char 53 wsdisplay
device-major wskbd char 54 wskbd
diff -r 91882a4002b1 -r 929254a35d4e sys/arch/arc/conf/majors.arc
--- a/sys/arch/arc/conf/majors.arc Mon Jan 28 02:25:01 2019 +0000
Home |
Main Index |
Thread Index |
Old Index