summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-08-24 05:30:08 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-08-24 05:30:08 +0000
commit85ff07cfeea8faa95830d01f3b90dd66cce13630 (patch)
tree721564da90df32c332c8e5b86b1273055008a94b /sys/arch/sparc
parent5e7341524ae90c8ac1f9113ba9dcff4d68cc1758 (diff)
Add support for /dev/ksyms to arch-specific files
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/include/conf.h4
-rw-r--r--sys/arch/sparc/sparc/conf.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/conf.h b/sys/arch/sparc/include/conf.h
index 7f87c9feff6..e32de9509c8 100644
--- a/sys/arch/sparc/include/conf.h
+++ b/sys/arch/sparc/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.6 1998/05/20 19:29:18 deraadt Exp $ */
+/* $OpenBSD: conf.h,v 1.7 1998/08/24 05:30:00 millert Exp $ */
/* $NetBSD: conf.h,v 1.8 1996/12/31 07:12:43 mrg Exp $ */
/*
@@ -97,3 +97,5 @@ cdev_decl(rd);
cdev_decl(mtty);
cdev_decl(mbpp);
+
+cdev_decl(ksyms);
diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c
index 86e2b8d0be6..3cf1892ab5d 100644
--- a/sys/arch/sparc/sparc/conf.c
+++ b/sys/arch/sparc/sparc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.17 1998/07/07 06:56:11 deraadt Exp $ */
+/* $OpenBSD: conf.c,v 1.18 1998/08/24 05:30:02 millert Exp $ */
/* $NetBSD: conf.c,v 1.40 1996/04/11 19:20:03 thorpej Exp $ */
/*
@@ -82,6 +82,7 @@
#include "xd.h"
#include "xy.h"
#include "magma.h" /* has NMTTY and NMBPP */
+#include "ksyms.h"
struct bdevsw bdevsw[] =
{
@@ -237,6 +238,7 @@ struct cdevsw cdevsw[] =
cdev_random_init(1,random), /* 119: random generator */
cdev_uk_init(NUK,uk), /* 120: unknown SCSI */
cdev_ss_init(NSS,ss), /* 121: SCSI scanner */
+ cdev_ksyms_init(NKSYMS,ksyms), /* 122: Kernel symbols device */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);