Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb add include "opt_usb.h" where needed.
details: https://anonhg.NetBSD.org/src/rev/11e07f02e7b0
branches: trunk
changeset: 783703:11e07f02e7b0
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 05 01:32:50 2013 +0000
description:
add include "opt_usb.h" where needed.
diffstat:
sys/dev/usb/if_otus.c | 11 ++++++++---
sys/dev/usb/if_urtwn.c | 10 +++++++---
sys/dev/usb/if_zyd.c | 12 ++++++++----
3 files changed, 23 insertions(+), 10 deletions(-)
diffs (88 lines):
diff -r 13b93c6a553a -r 11e07f02e7b0 sys/dev/usb/if_otus.c
--- a/sys/dev/usb/if_otus.c Sat Jan 05 01:30:15 2013 +0000
+++ b/sys/dev/usb/if_otus.c Sat Jan 05 01:32:50 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_otus.c,v 1.17 2012/12/27 16:42:32 skrll Exp $ */
+/* $NetBSD: if_otus.c,v 1.18 2013/01/05 01:32:50 christos Exp $ */
/* $OpenBSD: if_otus.c,v 1.18 2010/08/27 17:08:00 jsg Exp $ */
/*-
@@ -17,13 +17,18 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_otus.c,v 1.17 2012/12/27 16:42:32 skrll Exp $");
/*-
* Driver for Atheros AR9001U chipset.
* http://www.atheros.com/pt/bulletins/AR9001USBBulletin.pdf
*/
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: if_otus.c,v 1.18 2013/01/05 01:32:50 christos Exp $");
+
+#ifdef _KERNEL_OPT
+#include "opt_usb.h"
+#endif
+
#include <sys/param.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
diff -r 13b93c6a553a -r 11e07f02e7b0 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c Sat Jan 05 01:30:15 2013 +0000
+++ b/sys/dev/usb/if_urtwn.c Sat Jan 05 01:32:50 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urtwn.c,v 1.7 2013/01/05 01:30:16 christos Exp $ */
+/* $NetBSD: if_urtwn.c,v 1.8 2013/01/05 01:32:50 christos Exp $ */
/* $OpenBSD: if_urtwn.c,v 1.20 2011/11/26 06:39:33 ckuethe Exp $ */
/*-
@@ -17,12 +17,16 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/*
+/*-
* Driver for Realtek RTL8188CE-VAU/RTL8188CUS/RTL8188RU/RTL8192CU.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.7 2013/01/05 01:30:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.8 2013/01/05 01:32:50 christos Exp $");
+
+#ifdef _KERNEL_OPT
+#include "opt_usb.h"
+#endif
#include <sys/param.h>
#include <sys/sockio.h>
diff -r 13b93c6a553a -r 11e07f02e7b0 sys/dev/usb/if_zyd.c
--- a/sys/dev/usb/if_zyd.c Sat Jan 05 01:30:15 2013 +0000
+++ b/sys/dev/usb/if_zyd.c Sat Jan 05 01:32:50 2013 +0000
@@ -1,5 +1,5 @@
/* $OpenBSD: if_zyd.c,v 1.52 2007/02/11 00:08:04 jsg Exp $ */
-/* $NetBSD: if_zyd.c,v 1.33 2012/12/27 16:42:32 skrll Exp $ */
+/* $NetBSD: if_zyd.c,v 1.34 2013/01/05 01:32:50 christos Exp $ */
/*-
* Copyright (c) 2006 by Damien Bergamini <damien.bergamini%free.fr@localhost>
@@ -18,12 +18,16 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/*
+/*-
* ZyDAS ZD1211/ZD1211B USB WLAN driver.
*/
+
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_zyd.c,v 1.33 2012/12/27 16:42:32 skrll Exp $");
-
+__KERNEL_RCSID(0, "$NetBSD: if_zyd.c,v 1.34 2013/01/05 01:32:50 christos Exp $");
+
+#ifdef _KERNEL_OPT
+#include "opt_usb.h"
+#endif
#include <sys/param.h>
#include <sys/sockio.h>
Home |
Main Index |
Thread Index |
Old Index