Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net/npf mark this MODULE_CLASS_MISC as npf_init cannot r...



details:   https://anonhg.NetBSD.org/src/rev/464e657180df
branches:  trunk
changeset: 811203:464e657180df
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Oct 17 13:53:40 2015 +0000

description:
mark this MODULE_CLASS_MISC as npf_init cannot run when builtin driver modules are initialized

diffstat:

 sys/net/npf/npf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2e0496f57d13 -r 464e657180df sys/net/npf/npf.c
--- a/sys/net/npf/npf.c Sat Oct 17 13:52:52 2015 +0000
+++ b/sys/net/npf/npf.c Sat Oct 17 13:53:40 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf.c,v 1.23 2015/08/20 14:40:19 christos Exp $        */
+/*     $NetBSD: npf.c,v 1.24 2015/10/17 13:53:40 jmcneill Exp $        */
 
 /*-
  * Copyright (c) 2009-2013 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.23 2015/08/20 14:40:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.24 2015/10/17 13:53:40 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -59,7 +59,7 @@
 /*
  * Module and device structures.
  */
-MODULE(MODULE_CLASS_DRIVER, npf, NULL);
+MODULE(MODULE_CLASS_MISC, npf, NULL);
 
 static int     npf_fini(void);
 static int     npf_dev_open(dev_t, int, int, lwp_t *);



Home | Main Index | Thread Index | Old Index