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/loongson | |
parent | 5381122906bf88c5fd4bc51d07e075e9ddc41e0b (diff) |
Wire up device nodes for disk mapper.
ok deraadt@
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r-- | sys/arch/loongson/loongson/conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/loongson/loongson/conf.c b/sys/arch/loongson/loongson/conf.c index b4232e0d94b..33536966144 100644 --- a/sys/arch/loongson/loongson/conf.c +++ b/sys/arch/loongson/loongson/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.5 2010/06/08 20:51:05 todd Exp $ */ +/* $OpenBSD: conf.c,v 1.6 2010/06/09 15:25:32 jsing Exp $ */ /* * Copyright (c) 1992, 1993 @@ -221,6 +221,7 @@ struct cdevsw cdevsw[] = cdev_hotplug_init(NHOTPLUG,hotplug), /* 67: devices hotplugging */ cdev_bthub_init(NBTHUB,bthub), /* 68: bluetooth hub */ cdev_vscsi_init(NVSCSI,vscsi), /* 69: vscsi */ + cdev_disk_init(1,diskmap), /* 70: disk mapper */ }; int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]); |