summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-12-12 19:19:18 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-12-12 19:19:18 +0000
commit3b37b70763ddc29c1181cc5fc55035d82949ab92 (patch)
tree43d958edfc1fff487fa875e83327e6ac63268336 /sys/arch/macppc
parent018ee021078abdaf33a0e4d21a39e9064a3236fe (diff)
add /dev/crypto support
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/include/conf.h4
-rw-r--r--sys/arch/macppc/macppc/conf.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/arch/macppc/include/conf.h b/sys/arch/macppc/include/conf.h
index eca8335c75a..3bd4dac178d 100644
--- a/sys/arch/macppc/include/conf.h
+++ b/sys/arch/macppc/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.3 2001/10/03 14:45:37 drahn Exp $ */
+/* $OpenBSD: conf.h,v 1.4 2001/12/12 19:19:17 jason Exp $ */
/* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */
/*
@@ -45,3 +45,5 @@ cdev_decl(mm);
cdev_decl(zs);
+
+cdev_decl(crypto);
diff --git a/sys/arch/macppc/macppc/conf.c b/sys/arch/macppc/macppc/conf.c
index 772d0a8b8f8..0eb0a48b578 100644
--- a/sys/arch/macppc/macppc/conf.c
+++ b/sys/arch/macppc/macppc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.8 2001/12/11 23:19:02 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.9 2001/12/12 19:19:17 jason Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -133,6 +133,8 @@ cdev_decl(ucom);
#include "uscanner.h"
cdev_decl(uscanner);
+#include "inet.h"
+
#include "apm.h"
cdev_decl(apm);
@@ -197,7 +199,7 @@ struct cdevsw cdevsw[] = {
cdev_audio_init(NAUDIO,audio), /* 44: generic audio I/O */
cdev_notdef(), /* 45 */
cdev_notdef(), /* 46 */
- cdev_notdef(), /* 47 */
+ cdev_crypto_init(NCRYPTO,crypto), /* 47: /dev/crypto */
cdev_notdef(), /* 48 */
cdev_notdef(), /* 49 */
cdev_notdef(), /* 50 */