Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Don't autogenerate a large number ...
details: https://anonhg.NetBSD.org/src/rev/9bb6d0554ac5
branches: trunk
changeset: 762690:9bb6d0554ac5
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Feb 25 18:56:20 2011 +0000
description:
Don't autogenerate a large number of unnecessary device nodes, just
slows bootstrap.
diffstat:
sys/rump/librump/rumpkern/devsw.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 220d42404caa -r 9bb6d0554ac5 sys/rump/librump/rumpkern/devsw.c
--- a/sys/rump/librump/rumpkern/devsw.c Fri Feb 25 18:48:26 2011 +0000
+++ b/sys/rump/librump/rumpkern/devsw.c Fri Feb 25 18:56:20 2011 +0000
@@ -45,7 +45,7 @@
{ "ctty", -1, 1, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "null", -1, 2, DEVNODE_SINGLE, DEVNODE_FLAG_ISMINOR0, { DEV_NULL,0 }},
{ "zero", -1, 2, DEVNODE_SINGLE, DEVNODE_FLAG_ISMINOR0, { DEV_ZERO,0 }},
- { "wd", 0, 3, DEVNODE_VECTOR, 0, { 8, 8 }},
+ { "wd", 0, 3, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "swap", 1, 4, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "pts", -1, 5, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "ptc", -1, 6, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
@@ -65,13 +65,13 @@
{ "apm", -1, 21, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "filedesc", -1, 22, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "bpf", -1, 23, DEVNODE_VECTOR, DEVNODE_FLAG_LINKZERO, { 8, 0 }},
- { "md", 17, 24, DEVNODE_VECTOR, 0, { 4, 8 }},
+ { "md", 17, 24, DEVNODE_VECTOR, 0, { 2, 8 }},
{ "joy", -1, 26, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "spkr", -1, 27, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "cy", -1, 38, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "mcd", 7, 39, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "tun", -1, 40, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
- { "vnd", 14, 41, DEVNODE_VECTOR, 0, { 8, 8 }},
+ { "vnd", 14, 41, DEVNODE_VECTOR, 0, { 2, 8 }},
{ "audio", -1, 42, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "svr4_net", -1, 43, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
{ "ipl", -1, 44, DEVNODE_DONTBOTHER, 0, { 0, 0 }},
Home |
Main Index |
Thread Index |
Old Index