Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpdev initialize rnd if present
details: https://anonhg.NetBSD.org/src/rev/4b7a2c7c7a12
branches: trunk
changeset: 747295:4b7a2c7c7a12
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Sep 08 20:15:51 2009 +0000
description:
initialize rnd if present
diffstat:
sys/rump/librump/rumpdev/rump_dev.c | 6 ++++--
sys/rump/librump/rumpdev/rump_dev_private.h | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diffs (50 lines):
diff -r 9d7b3702481c -r 4b7a2c7c7a12 sys/rump/librump/rumpdev/rump_dev.c
--- a/sys/rump/librump/rumpdev/rump_dev.c Tue Sep 08 20:12:52 2009 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev.c Tue Sep 08 20:15:51 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_dev.c,v 1.2 2009/09/04 12:20:42 pooka Exp $ */
+/* $NetBSD: rump_dev.c,v 1.3 2009/09/08 20:15:51 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.2 2009/09/04 12:20:42 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.3 2009/09/08 20:15:51 pooka Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -38,6 +38,7 @@
__weak_alias(rump_dev_cgd_init,nocomponent);
__weak_alias(rump_dev_raidframe_init,nocomponent);
__weak_alias(rump_dev_netsmb_init,nocomponent);
+__weak_alias(rump_dev_rnd_init,nocomponent);
void
rump_dev_init(void)
@@ -48,6 +49,7 @@
rump_dev_cgd_init();
rump_dev_raidframe_init();
rump_dev_netsmb_init();
+ rump_dev_rnd_init();
rump_pdev_finalize();
diff -r 9d7b3702481c -r 4b7a2c7c7a12 sys/rump/librump/rumpdev/rump_dev_private.h
--- a/sys/rump/librump/rumpdev/rump_dev_private.h Tue Sep 08 20:12:52 2009 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev_private.h Tue Sep 08 20:15:51 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_dev_private.h,v 1.3 2009/09/06 20:42:26 pooka Exp $ */
+/* $NetBSD: rump_dev_private.h,v 1.4 2009/09/08 20:15:51 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -36,5 +36,6 @@
void rump_dev_cgd_init(void);
void rump_dev_raidframe_init(void);
void rump_dev_netsmb_init(void);
+void rump_dev_rnd_init(void);
#endif /* _SYS_RUMP_DEV_PRIVATE_H_ */
Home |
Main Index |
Thread Index |
Old Index