Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Don't have modules depend on bpf; they will find...
details: https://anonhg.NetBSD.org/src/rev/18c222f1a1a9
branches: trunk
changeset: 433398:18c222f1a1a9
user: christos <christos%NetBSD.org@localhost>
date: Wed Sep 12 21:57:18 2018 +0000
description:
Don't have modules depend on bpf; they will find the dependency dynamically
at runtime. Otherwise builtin modules will complain about non-builtin bpf.
diffstat:
sys/dev/usb/if_athn_usb.c | 6 +++---
sys/dev/usb/if_axe.c | 6 +++---
sys/dev/usb/if_axen.c | 6 +++---
sys/dev/usb/if_rum.c | 6 +++---
sys/dev/usb/if_run.c | 6 +++---
sys/dev/usb/if_urtw.c | 6 +++---
sys/dev/usb/if_urtwn.c | 6 +++---
7 files changed, 21 insertions(+), 21 deletions(-)
diffs (190 lines):
diff -r 824c368d813c -r 18c222f1a1a9 sys/dev/usb/if_athn_usb.c
--- a/sys/dev/usb/if_athn_usb.c Wed Sep 12 19:55:39 2018 +0000
+++ b/sys/dev/usb/if_athn_usb.c Wed Sep 12 21:57:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_athn_usb.c,v 1.29 2018/08/02 06:09:04 riastradh Exp $ */
+/* $NetBSD: if_athn_usb.c,v 1.30 2018/09/12 21:57:18 christos Exp $ */
/* $OpenBSD: if_athn_usb.c,v 1.12 2013/01/14 09:50:31 jsing Exp $ */
/*-
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_athn_usb.c,v 1.29 2018/08/02 06:09:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_athn_usb.c,v 1.30 2018/09/12 21:57:18 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -2974,7 +2974,7 @@
athn_set_power_sleep(sc);
}
-MODULE(MODULE_CLASS_DRIVER, if_athn_usb, "bpf");
+MODULE(MODULE_CLASS_DRIVER, if_athn_usb, NULL);
#ifdef _MODULE
#include "ioconf.c"
diff -r 824c368d813c -r 18c222f1a1a9 sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c Wed Sep 12 19:55:39 2018 +0000
+++ b/sys/dev/usb/if_axe.c Wed Sep 12 21:57:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axe.c,v 1.92 2018/08/02 06:09:04 riastradh Exp $ */
+/* $NetBSD: if_axe.c,v 1.93 2018/09/12 21:57:18 christos Exp $ */
/* $OpenBSD: if_axe.c,v 1.137 2016/04/13 11:03:37 mpi Exp $ */
/*
@@ -87,7 +87,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.92 2018/08/02 06:09:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.93 2018/09/12 21:57:18 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1962,7 +1962,7 @@
sc->axe_link = 0;
}
-MODULE(MODULE_CLASS_DRIVER, if_axe, "bpf");
+MODULE(MODULE_CLASS_DRIVER, if_axe, NULL);
#ifdef _MODULE
#include "ioconf.c"
diff -r 824c368d813c -r 18c222f1a1a9 sys/dev/usb/if_axen.c
--- a/sys/dev/usb/if_axen.c Wed Sep 12 19:55:39 2018 +0000
+++ b/sys/dev/usb/if_axen.c Wed Sep 12 21:57:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axen.c,v 1.16 2018/08/02 06:09:04 riastradh Exp $ */
+/* $NetBSD: if_axen.c,v 1.17 2018/09/12 21:57:18 christos Exp $ */
/* $OpenBSD: if_axen.c,v 1.3 2013/10/21 10:10:22 yuo Exp $ */
/*
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axen.c,v 1.16 2018/08/02 06:09:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axen.c,v 1.17 2018/09/12 21:57:18 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1560,7 +1560,7 @@
sc->axen_link = 0;
}
-MODULE(MODULE_CLASS_DRIVER, if_axen, "bpf");
+MODULE(MODULE_CLASS_DRIVER, if_axen, NULL);
#ifdef _MODULE
#include "ioconf.c"
diff -r 824c368d813c -r 18c222f1a1a9 sys/dev/usb/if_rum.c
--- a/sys/dev/usb/if_rum.c Wed Sep 12 19:55:39 2018 +0000
+++ b/sys/dev/usb/if_rum.c Wed Sep 12 21:57:18 2018 +0000
@@ -1,5 +1,5 @@
/* $OpenBSD: if_rum.c,v 1.40 2006/09/18 16:20:20 damien Exp $ */
-/* $NetBSD: if_rum.c,v 1.63 2018/08/02 06:09:04 riastradh Exp $ */
+/* $NetBSD: if_rum.c,v 1.64 2018/09/12 21:57:18 christos Exp $ */
/*-
* Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini%free.fr@localhost>
@@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rum.c,v 1.63 2018/08/02 06:09:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rum.c,v 1.64 2018/09/12 21:57:18 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -2286,7 +2286,7 @@
}
}
-MODULE(MODULE_CLASS_DRIVER, if_rum, "bpf");
+MODULE(MODULE_CLASS_DRIVER, if_rum, NULL);
#ifdef _MODULE
#include "ioconf.c"
diff -r 824c368d813c -r 18c222f1a1a9 sys/dev/usb/if_run.c
--- a/sys/dev/usb/if_run.c Wed Sep 12 19:55:39 2018 +0000
+++ b/sys/dev/usb/if_run.c Wed Sep 12 21:57:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_run.c,v 1.29 2018/08/02 06:09:04 riastradh Exp $ */
+/* $NetBSD: if_run.c,v 1.30 2018/09/12 21:57:18 christos Exp $ */
/* $OpenBSD: if_run.c,v 1.90 2012/03/24 15:11:04 jsg Exp $ */
/*-
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.29 2018/08/02 06:09:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.30 2018/09/12 21:57:18 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -4842,7 +4842,7 @@
}
#endif
-MODULE(MODULE_CLASS_DRIVER, if_run, "bpf");
+MODULE(MODULE_CLASS_DRIVER, if_run, NULL);
#ifdef _MODULE
#include "ioconf.c"
diff -r 824c368d813c -r 18c222f1a1a9 sys/dev/usb/if_urtw.c
--- a/sys/dev/usb/if_urtw.c Wed Sep 12 19:55:39 2018 +0000
+++ b/sys/dev/usb/if_urtw.c Wed Sep 12 21:57:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urtw.c,v 1.17 2018/08/02 06:09:04 riastradh Exp $ */
+/* $NetBSD: if_urtw.c,v 1.18 2018/09/12 21:57:18 christos Exp $ */
/* $OpenBSD: if_urtw.c,v 1.39 2011/07/03 15:47:17 matthew Exp $ */
/*-
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtw.c,v 1.17 2018/08/02 06:09:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtw.c,v 1.18 2018/09/12 21:57:18 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -4056,7 +4056,7 @@
return error;
}
-MODULE(MODULE_CLASS_DRIVER, if_urtw, "bpf");
+MODULE(MODULE_CLASS_DRIVER, if_urtw, NULL);
#ifdef _MODULE
#include "ioconf.c"
diff -r 824c368d813c -r 18c222f1a1a9 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c Wed Sep 12 19:55:39 2018 +0000
+++ b/sys/dev/usb/if_urtwn.c Wed Sep 12 21:57:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urtwn.c,v 1.63 2018/08/02 06:09:04 riastradh Exp $ */
+/* $NetBSD: if_urtwn.c,v 1.64 2018/09/12 21:57:18 christos Exp $ */
/* $OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $ */
/*-
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.63 2018/08/02 06:09:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.64 2018/09/12 21:57:18 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -5093,7 +5093,7 @@
usbd_delay_ms(sc->sc_udev, ms);
}
-MODULE(MODULE_CLASS_DRIVER, if_urtwn, "bpf");
+MODULE(MODULE_CLASS_DRIVER, if_urtwn, NULL);
#ifdef _MODULE
#include "ioconf.c"
Home |
Main Index |
Thread Index |
Old Index