diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-11-15 03:59:09 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-11-15 03:59:09 +0000 |
commit | 47b69589789f9a7561f52e02eff08616b0b58b8b (patch) | |
tree | 2cefb66f4bab9d86ea98e031485b9ec0c72440be /sys/arch/sparc64 | |
parent | 334668c37fe733c473d6b6fa5a35557cd1b6440c (diff) |
cdev glue for crypto(9) [Not known to work, but will as soon as interrupt
issues are ironed out]
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/include/conf.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/conf.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/conf.h b/sys/arch/sparc64/include/conf.h index 7fc1167862b..0fdae498dbd 100644 --- a/sys/arch/sparc64/include/conf.h +++ b/sys/arch/sparc64/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.4 2001/10/28 03:14:59 jason Exp $ */ +/* $OpenBSD: conf.h,v 1.5 2001/11/15 03:59:08 jason Exp $ */ /* $NetBSD: conf.h,v 1.9 2001/03/26 12:33:26 lukem Exp $ */ /*- @@ -41,6 +41,8 @@ #define mmwrite mmrw cdev_decl(mm); +cdev_decl(crypto); + cdev_decl(ksyms); cdev_decl(openprom); diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c index f501a870416..8a30d9cba4b 100644 --- a/sys/arch/sparc64/sparc64/conf.c +++ b/sys/arch/sparc64/sparc64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.11 2001/10/28 03:14:59 jason Exp $ */ +/* $OpenBSD: conf.c,v 1.12 2001/11/15 03:59:08 jason Exp $ */ /* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */ /* @@ -127,6 +127,7 @@ cdev_decl(xfs_dev); #endif #include "ksyms.h" +#include "inet.h" struct bdevsw bdevsw[] = { @@ -240,7 +241,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 72 */ cdev_pf_init(NPF,pf), /* 73: packet filter */ cdev_altq_init(NALTQ,altq), /* 74: ALTQ control interface */ - cdev_notdef(), /* 75 */ + cdev_crypto_init(NCRYPTO,crypto), /* 75: /dev/crypto */ cdev_ksyms_init(NKSYMS,ksyms), /* 76 *: Kernel symbols device */ cdev_tty_init(NSABTTY,sabtty), /* 77: sab82532 serial ports */ cdev_notdef(), /* 78 */ |