Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/specfs Autoload modules with any class.
details: https://anonhg.NetBSD.org/src/rev/4be4fa8657fc
branches: trunk
changeset: 753873:4be4fa8657fc
user: ahoka <ahoka%NetBSD.org@localhost>
date: Tue Apr 13 01:15:56 2010 +0000
description:
Autoload modules with any class.
This fixes autoloading of pf, zfs and possibly others.
diffstat:
sys/miscfs/specfs/spec_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r be08a9d7e70b -r 4be4fa8657fc sys/miscfs/specfs/spec_vnops.c
--- a/sys/miscfs/specfs/spec_vnops.c Tue Apr 13 01:02:43 2010 +0000
+++ b/sys/miscfs/specfs/spec_vnops.c Tue Apr 13 01:15:56 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spec_vnops.c,v 1.127 2009/11/14 18:36:57 elad Exp $ */
+/* $NetBSD: spec_vnops.c,v 1.128 2010/04/13 01:15:56 ahoka Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.127 2009/11/14 18:36:57 elad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.128 2010/04/13 01:15:56 ahoka Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -460,7 +460,7 @@
/* Try to autoload device module */
mutex_enter(&module_lock);
- (void) module_autoload(name, MODULE_CLASS_DRIVER);
+ (void) module_autoload(name, MODULE_CLASS_ANY);
mutex_exit(&module_lock);
} while (gen != module_gen);
Home |
Main Index |
Thread Index |
Old Index