summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-16 04:18:10 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-16 04:18:10 +0000
commit4dcb90ae7b66c11143e725e260cb3c64837d4859 (patch)
treeee2fa7f96b6bb2fae75fb2411e5ab36a730b871b /sys/arch/powerpc
parent11f4945cc81c0b83531bbe9caf9bf7995c4382c1 (diff)
Add entries for the following devices in the cdev switch ksyms, uk, and ss.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/powerpc/conf.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/powerpc/powerpc/conf.c b/sys/arch/powerpc/powerpc/conf.c
index 4eddf3af7f5..93c850fd8e7 100644
--- a/sys/arch/powerpc/powerpc/conf.c
+++ b/sys/arch/powerpc/powerpc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.10 1998/08/06 15:04:06 pefo Exp $ */
+/* $OpenBSD: conf.c,v 1.11 1998/09/16 04:18:09 rahnds Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -107,6 +107,8 @@ cdev_decl(ofrtc);
#include <sd.h>
#include <st.h>
#include <cd.h>
+#include <uk.h>
+#include <ss.h>
cdev_decl(st);
cdev_decl(sd);
cdev_decl(cd);
@@ -136,6 +138,8 @@ cdev_decl(lkm);
#else
#define NIPF 0
#endif
+#include "ksyms.h"
+cdev_decl(ksyms);
struct cdevsw cdevsw[] = {
@@ -180,6 +184,9 @@ struct cdevsw cdevsw[] = {
cdev_lkm_dummy(), /* 38 */
cdev_gen_ipf(NIPF,ipl), /* 39: IP filter */
cdev_random_init(1,random), /* 40: random data source */
+ cdev_uk_init(NUK,uk), /* 41: unknown SCSI */
+ cdev_ss_init(NSS,ss), /* 42: SCSI scanner */
+ cdev_ksyms_init(NKSYMS,ksyms), /* 43: Kernel symbols device */
/* If adding devs, don't forget to expand 'chrtoblktbl' below! */
};
int nchrdev = sizeof cdevsw / sizeof cdevsw[0];