From 3b37b70763ddc29c1181cc5fc55035d82949ab92 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Wed, 12 Dec 2001 19:19:18 +0000 Subject: add /dev/crypto support --- sys/arch/macppc/include/conf.h | 4 +++- sys/arch/macppc/macppc/conf.c | 6 ++++-- 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 */ -- cgit v1.2.3