Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Add some file to define MI major for various classe...
details: https://anonhg.NetBSD.org/src/rev/fdccb37f47e8
branches: trunk
changeset: 332400:fdccb37f47e8
user: matt <matt%NetBSD.org@localhost>
date: Fri Sep 19 17:32:34 2014 +0000
description:
Add some file to define MI major for various classes of stuff.
These are for new ports to use.
diffstat:
sys/conf/majors.std | 16 ++++++++++++++++
sys/conf/majors.storage | 28 ++++++++++++++++++++++++++++
sys/conf/majors.tty | 9 +++++++++
sys/conf/majors.usb | 11 +++++++++++
sys/conf/majors.ws | 8 ++++++++
5 files changed, 72 insertions(+), 0 deletions(-)
diffs (92 lines):
diff -r 62bfbf9c5003 -r fdccb37f47e8 sys/conf/majors.std
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/conf/majors.std Fri Sep 19 17:32:34 2014 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: majors.std,v 1.1 2014/09/19 17:32:34 matt Exp $
+#
+# MI major assignments for standard devices
+#
+device-major cons char 240
+device-major ctty char 241
+device-major mem char 242
+device-major swap char 243 block 1 vmswap
+device-major pts char 244 pty
+device-major ptc char 245 pty
+device-major log char 246
+device-major filedesc char 247
+device-major rnd char 248 rnd
+device-major clockctl char 249 clockctl
+device-major sysmon char 250 sysmon_envsys | sysmon_wdog
+device-major ksyms char 251 ksyms
diff -r 62bfbf9c5003 -r fdccb37f47e8 sys/conf/majors.storage
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/conf/majors.storage Fri Sep 19 17:32:34 2014 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: majors.storage,v 1.1 2014/09/19 17:32:34 matt Exp $
+#
+# MI major assignments for storage (and their children) devices
+#
+device-major ccd char 300 block 300 ccd
+device-major vnd char 301 block 301 vnd
+device-major md char 302 block 302 md
+device-major ld char 303 block 303 ld
+device-major raid char 304 block 304 raid
+device-major cgd char 305 block 305 cgd
+
+# scsibus and its children
+device-major scsibus char 310 scsibus
+device-major sd char 311 block 311 sd
+device-major st char 312 block 312 st
+device-major cd char 313 block 313 cd
+device-major ch char 314 ch
+device-major ss char 315 ss
+device-major uk char 316 uk
+device-major ses char 317 ses
+device-major se char 318 se
+
+device-major fd char 320 block 320 fdc
+device-major wd char 321 block 321 wd
+
+device-major mlx char 330 mlx
+device-major mly char 331 mly
+device-major twe char 332 twe
diff -r 62bfbf9c5003 -r fdccb37f47e8 sys/conf/majors.tty
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/conf/majors.tty Fri Sep 19 17:32:34 2014 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: majors.tty,v 1.1 2014/09/19 17:32:34 matt Exp $
+#
+# MI major assignments for tty(*) devices
+#
+
+device-major com char 260 com
+device-major lpt char 261 lpt
+device-major cy char 262 cy
+device-major cz char 263 cz
diff -r 62bfbf9c5003 -r fdccb37f47e8 sys/conf/majors.usb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/conf/majors.usb Fri Sep 19 17:32:34 2014 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: majors.usb,v 1.1 2014/09/19 17:32:34 matt Exp $
+#
+# MI major assignments for USB devices
+#
+device-major usb char 220 usb
+device-major uhid char 221 uhid
+device-major ulpt char 222 ulpt
+device-major ugen char 223 ugen
+device-major ucom char 224 ucom
+device-major urio char 225 urio
+device-major uscanner char 226 uscanner
diff -r 62bfbf9c5003 -r fdccb37f47e8 sys/conf/majors.ws
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/conf/majors.ws Fri Sep 19 17:32:34 2014 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: majors.ws,v 1.1 2014/09/19 17:32:34 matt Exp $
+#
+# MI major assignments for ws type devices
+device-major wsdisplay char 210 wsdisplay
+device-major wskbd char 211 wskbd
+device-major wsmouse char 212 wsmouse
+device-major wsmux char 213 wsmux
+device-major wsfont char 214 wsfont
Home |
Main Index |
Thread Index |
Old Index