Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf - change major number limit for MI devices from 255...
details: https://anonhg.NetBSD.org/src/rev/df26d26b6744
branches: trunk
changeset: 345211:df26d26b6744
user: soda <soda%NetBSD.org@localhost>
date: Fri May 13 02:00:36 2016 +0000
description:
- change major number limit for MI devices from 255 to 511,
because twe is already using 332
- clarify that new MI devices should go to this file
instead of majors.{ws,usb,std,tty,storage}
- fix major number conflict about hdmicec vs tty
OKed by matt@
the expression "previously not MI" is suggested by matt@ too.
diffstat:
sys/conf/majors | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (37 lines):
diff -r 18f1a0fb40bc -r df26d26b6744 sys/conf/majors
--- a/sys/conf/majors Thu May 12 20:28:34 2016 +0000
+++ b/sys/conf/majors Fri May 13 02:00:36 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors,v 1.71 2016/05/11 06:42:06 skrll Exp $
+# $NetBSD: majors,v 1.72 2016/05/13 02:00:36 soda Exp $
#
# Device majors for Machine-Independent drivers.
#
@@ -7,7 +7,7 @@
#
# Majors 144-159 are reserved for local/vendor use.
#
-# Majors 160-255 are used for the MI drivers.
+# Majors 160-511 are used for the MI drivers.
device-major crypto char 160 crypto single
device-major pf char 161 pf single
@@ -56,11 +56,11 @@
device-major spiflash char 208 block 208 spiflash
device-major lua char 209 lua
-# 210-219 reserved for MI ws devices
-# 220-239 reserved for MI usb devices
-# 240-259 reserved for MI "std" devices
-# 260-269 reserved for MI tty devices
-# 310-339 reserved for MI storage devices
+# 210-219 reserved for previously not MI ws devices
+# 220-239 reserved for previously not MI usb devices
+# 240-259 reserved for previously not MI "std" devices
+# 260-269 reserved for previously not MI tty devices
+# 310-339 reserved for previously not MI storage devices
+# NOTE: new MI devices should go to this file instead of above
-# XXX conflicts with tty
-device-major hdmicec char 260 hdmicec
+device-major hdmicec char 340 hdmicec
Home |
Main Index |
Thread Index |
Old Index