summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-03-12 22:57:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-03-12 22:57:31 +0000
commit87fdc4d8dd0c36bfc704e7088b0431d188f9ba02 (patch)
tree283b75e736e00d7d0a638e6a3ab89749b74b3db5
parent50bb9854b201d4a26742d3916ef4ce0500cc6ddb (diff)
/dev/ksyms support.
Declare random source device - makes ssh work on mvme88k at last.
-rw-r--r--sys/arch/mvme88k/mvme88k/conf.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/conf.c b/sys/arch/mvme88k/mvme88k/conf.c
index b0bf074a2d5..70d07c88dda 100644
--- a/sys/arch/mvme88k/mvme88k/conf.c
+++ b/sys/arch/mvme88k/mvme88k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.14 2001/03/08 00:03:30 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.15 2001/03/12 22:57:30 miod Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -186,6 +186,9 @@ cdev_decl(tun);
#cdev_decl(xfs_dev);
#endif
+#include "ksyms.h"
+cdev_decl(ksyms);
+
#ifdef LKM
#define NLKM 1
#else
@@ -256,10 +259,10 @@ struct cdevsw cdevsw[] =
cdev_lkm_dummy(), /* 37 */
cdev_lkm_dummy(), /* 38 */
cdev_gen_ipf(NIPF,ipl), /* 39: IP filter */
- cdev_notdef(), /* 40 */
+ cdev_random_init(1,random), /* 40: random data source */
cdev_notdef(), /* 41 */
cdev_notdef(), /* 42 */
- cdev_notdef(), /* 43 */
+ cdev_ksyms_init(NKSYMS,ksyms), /* 43: Kernel symbols device */
cdev_notdef(), /* 44 */
cdev_notdef(), /* 45 */
cdev_notdef(), /* 46 */