aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1998-04-24 07:54:00 +0000
committerJulian Elischer <julian@FreeBSD.org>1998-04-24 07:54:00 +0000
commit1667f2b3e51443ff1ed48ac7d34480f450786540 (patch)
treedf0ee14efe0e7a7af358d32804a419e6c334b24c /sys/dev
parent0d86878ce09d3a4937cb8df83dc3451fecd3c3ac (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/slice/slice_device.c6
-rw-r--r--sys/dev/vn/vn.c5
2 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/slice/slice_device.c b/sys/dev/slice/slice_device.c
index 30bb30991d8eb..d471bd46dd656 100644
--- a/sys/dev/slice/slice_device.c
+++ b/sys/dev/slice/slice_device.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: slice_device.c,v 1.2 1998/04/22 10:25:10 julian Exp $
+ * $Id: slice_device.c,v 1.3 1998/04/22 19:27:52 julian Exp $
*/
#define DIAGNOSTIC 1
@@ -115,9 +115,9 @@ RR;
* Add an entry in the devfs for it. Possibly should happen later.
*/
slice->devfs_ctoken = devfs_add_devswf(&slice_cdevsw, unit, DV_CHR,
- UID_ROOT, GID_KMEM, 0600, "r%s", name ? name : "-");
+ UID_ROOT, GID_OPERATOR, 0600, "r%s", name ? name : "-");
slice->devfs_btoken = devfs_add_devswf(&slice_bdevsw, unit, DV_BLK,
- UID_ROOT, GID_KMEM, 0600, "%s", name ? name : "-");
+ UID_ROOT, GID_OPERATOR, 0600, "%s", name ? name : "-");
/* XXX link this node into upper list of caller */
}
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index 7c6d425a37832..0ee88718957c7 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -38,7 +38,7 @@
* from: Utah Hdr: vn.c 1.13 94/04/02
*
* from: @(#)vn.c 8.6 (Berkeley) 4/1/94
- * $Id: vn.c,v 1.56 1998/04/19 23:31:21 julian Exp $
+ * $Id: vn.c,v 1.57 1998/04/22 10:25:12 julian Exp $
*/
/*
@@ -892,11 +892,10 @@ vn_drvinit(void *unused)
vn->slice->probeinfo.typespecific = NULL;
vn->slice->probeinfo.type = NULL;
}
-#define CDEV_MAJOR 20 /* not really needed */
#endif /* SLICE */
}
-SYSINIT(vndev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,vn_drvinit,NULL)
+SYSINIT(vndev, SI_SUB_DRIVERS, SI_ORDER_ANY, vn_drvinit, NULL)
#ifdef SLICE