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 add a new init-related calls
details: https://anonhg.NetBSD.org/src/rev/6c192751f023
branches: trunk
changeset: 747767:6c192751f023
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Oct 01 21:43:29 2009 +0000
description:
add a new init-related calls
diffstat:
sys/rump/librump/rumpdev/rump_dev.c | 12 ++++++++++--
sys/rump/librump/rumpdev/rump_dev_private.h | 5 ++++-
2 files changed, 14 insertions(+), 3 deletions(-)
diffs (65 lines):
diff -r c7eccaaf7e8c -r 6c192751f023 sys/rump/librump/rumpdev/rump_dev.c
--- a/sys/rump/librump/rumpdev/rump_dev.c Thu Oct 01 21:40:31 2009 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev.c Thu Oct 01 21:43:29 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_dev.c,v 1.5 2009/09/21 12:14:47 pooka Exp $ */
+/* $NetBSD: rump_dev.c,v 1.6 2009/10/01 21:43:29 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.5 2009/09/21 12:14:47 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.6 2009/10/01 21:43:29 pooka Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -39,10 +39,14 @@
__weak_alias(rump_dev_raidframe_init,nocomponent);
__weak_alias(rump_dev_netsmb_init,nocomponent);
__weak_alias(rump_dev_rnd_init,nocomponent);
+__weak_alias(rump_dev_rumpusbhc_init,nocomponent);
+
+__weak_alias(rump_device_configuration,nocomponent);
void
rump_dev_init(void)
{
+ extern int cold;
config_init_mi();
@@ -50,9 +54,13 @@
rump_dev_raidframe_init();
rump_dev_netsmb_init();
rump_dev_rnd_init();
+ rump_dev_rumpusbhc_init();
rump_pdev_finalize();
+ rump_device_configuration();
+
+ cold = 0;
if (config_rootfound("mainbus", NULL) == NULL)
panic("no mainbus");
diff -r c7eccaaf7e8c -r 6c192751f023 sys/rump/librump/rumpdev/rump_dev_private.h
--- a/sys/rump/librump/rumpdev/rump_dev_private.h Thu Oct 01 21:40:31 2009 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev_private.h Thu Oct 01 21:43:29 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_dev_private.h,v 1.4 2009/09/08 20:15:51 pooka Exp $ */
+/* $NetBSD: rump_dev_private.h,v 1.5 2009/10/01 21:43:29 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -37,5 +37,8 @@
void rump_dev_raidframe_init(void);
void rump_dev_netsmb_init(void);
void rump_dev_rnd_init(void);
+void rump_dev_rumpusbhc_init(void);
+
+void rump_device_configuration(void);
#endif /* _SYS_RUMP_DEV_PRIVATE_H_ */
Home |
Main Index |
Thread Index |
Old Index