diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2010-06-09 15:25:34 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2010-06-09 15:25:34 +0000 |
commit | e296f61b1a4136c8060a582f4eae13f6f1f44d86 (patch) | |
tree | 14f7adb9ad99d715ffba17952fe5fafcb32e2ca9 /sys/arch/sparc | |
parent | 5381122906bf88c5fd4bc51d07e075e9ddc41e0b (diff) |
Wire up device nodes for disk mapper.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c index 7835978a51e..d3cc30c9b47 100644 --- a/sys/arch/sparc/sparc/conf.c +++ b/sys/arch/sparc/sparc/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.50 2009/08/13 15:04:20 dlg Exp $ */ +/* $OpenBSD: conf.c,v 1.51 2010/06/09 15:25:33 jsing Exp $ */ /* $NetBSD: conf.c,v 1.40 1996/04/11 19:20:03 thorpej Exp $ */ /* @@ -268,6 +268,7 @@ struct cdevsw cdevsw[] = cdev_bio_init(NBIO,bio), /* 124: ioctl tunnel */ cdev_ptm_init(NPTY,ptm), /* 125: pseudo-tty ptm device */ cdev_vscsi_init(NVSCSI,vscsi), /* 128: vscsi */ + cdev_disk_init(1,diskmap), /* 129: disk mapper */ }; int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]); |