Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net/npf The nof module depends on some stuff from the bp...
details: https://anonhg.NetBSD.org/src/rev/7fe029805a26
branches: trunk
changeset: 355242:7fe029805a26
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Jul 20 23:37:56 2017 +0000
description:
The nof module depends on some stuff from the bpf module, so set the
required modules list accordingly.
diffstat:
sys/net/npf/npf_os.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r d55890cc1891 -r 7fe029805a26 sys/net/npf/npf_os.c
--- a/sys/net/npf/npf_os.c Thu Jul 20 23:07:12 2017 +0000
+++ b/sys/net/npf/npf_os.c Thu Jul 20 23:37:56 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_os.c,v 1.6 2017/01/27 17:25:34 ryo Exp $ */
+/* $NetBSD: npf_os.c,v 1.7 2017/07/20 23:37:56 pgoyette Exp $ */
/*-
* Copyright (c) 2009-2016 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#ifdef _KERNEL
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_os.c,v 1.6 2017/01/27 17:25:34 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_os.c,v 1.7 2017/07/20 23:37:56 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "pf.h"
@@ -79,10 +79,10 @@
* So we make this misc; a better way would be to have early boot and late
* boot drivers.
*/
-MODULE(MODULE_CLASS_MISC, npf, NULL);
+MODULE(MODULE_CLASS_MISC, npf, "bpf");
#else
/* This module autoloads via /dev/npf so it needs to be a driver */
-MODULE(MODULE_CLASS_DRIVER, npf, NULL);
+MODULE(MODULE_CLASS_DRIVER, npf, "bpf");
#endif
static int npf_dev_open(dev_t, int, int, lwp_t *);
Home |
Main Index |
Thread Index |
Old Index