summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-02-11 20:29:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-02-11 20:29:23 +0000
commit6cd79b43876467965d4384cf5a238f7a5fd40e80 (patch)
tree658079729c35cec3ba4959d975b5138390c4bb79 /sys/dev
parent881c2c9898d05e7ae845748e5ac4a265daf11351 (diff)
Remove _KERNEL_OPT leftovers.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/awi.c5
-rw-r--r--sys/dev/ic/pcdisplayvar.h6
-rw-r--r--sys/dev/ic/vga.c6
-rw-r--r--sys/dev/pci/bktr/bktr_card.c6
-rw-r--r--sys/dev/pci/bktr/bktr_core.c6
-rw-r--r--sys/dev/pci/bktr/bktr_os.c6
-rw-r--r--sys/dev/usb/if_aue.c8
-rw-r--r--sys/dev/usb/if_cue.c9
-rw-r--r--sys/dev/usb/if_kue.c9
-rw-r--r--sys/dev/usb/if_upl.c8
-rw-r--r--sys/dev/usb/if_url.c8
-rw-r--r--sys/dev/usb/ukbd.c7
12 files changed, 12 insertions, 72 deletions
diff --git a/sys/dev/ic/awi.c b/sys/dev/ic/awi.c
index 91959f0e9ac..349f58ce1ca 100644
--- a/sys/dev/ic/awi.c
+++ b/sys/dev/ic/awi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: awi.c,v 1.22 2006/06/23 06:27:11 miod Exp $ */
+/* $OpenBSD: awi.c,v 1.23 2007/02/11 20:29:22 miod Exp $ */
/* $NetBSD: awi.c,v 1.26 2000/07/21 04:48:55 onoe Exp $ */
/*-
@@ -85,9 +85,6 @@
* and to support adhoc mode by Atsushi Onoe <onoe@netbsd.org>
*/
-#ifndef __OpenBSD__
-#include "opt_inet.h"
-#endif
#if defined(__FreeBSD__) && __FreeBSD__ >= 4
#define NBPFILTER 1
#elif defined(__FreeBSD__) && __FreeBSD__ >= 3
diff --git a/sys/dev/ic/pcdisplayvar.h b/sys/dev/ic/pcdisplayvar.h
index 4d5044ca7d9..8c07f33d13a 100644
--- a/sys/dev/ic/pcdisplayvar.h
+++ b/sys/dev/ic/pcdisplayvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcdisplayvar.h,v 1.8 2006/11/29 19:11:15 miod Exp $ */
+/* $OpenBSD: pcdisplayvar.h,v 1.9 2007/02/11 20:29:22 miod Exp $ */
/* $NetBSD: pcdisplayvar.h,v 1.8 2000/01/25 02:44:03 ad Exp $ */
/*
@@ -27,10 +27,6 @@
*
*/
-#if 0
-#include "opt_pcdisplay.h"
-#endif
-
struct pcdisplayscreen {
struct pcdisplay_handle *hdl;
diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c
index 4854a63ce30..001c8b87ed7 100644
--- a/sys/dev/ic/vga.c
+++ b/sys/dev/ic/vga.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vga.c,v 1.44 2007/02/06 22:03:23 miod Exp $ */
+/* $OpenBSD: vga.c,v 1.45 2007/02/11 20:29:22 miod Exp $ */
/* $NetBSD: vga.c,v 1.28.2.1 2000/06/30 16:27:47 simonb Exp $ */
/*
@@ -49,10 +49,6 @@
#include <dev/ic/pcdisplay.h>
-#if 0
-#include "opt_wsdisplay_compat.h" /* for WSCONS_SUPPORT_PCVTFONTS */
-#endif
-
static struct vgafont {
char name[WSFONT_NAME_SIZE];
int height;
diff --git a/sys/dev/pci/bktr/bktr_card.c b/sys/dev/pci/bktr/bktr_card.c
index f2e6654a481..a3fc830814b 100644
--- a/sys/dev/pci/bktr/bktr_card.c
+++ b/sys/dev/pci/bktr/bktr_card.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_card.c,v 1.13 2007/01/08 08:29:37 pedro Exp $ */
+/* $OpenBSD: bktr_card.c,v 1.14 2007/02/11 20:29:22 miod Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_card.c,v 1.16 2000/10/31 13:09:56 roger Exp $ */
/*
@@ -48,10 +48,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __OpenBSD__
-#include "opt_bktr.h" /* Include any kernel config options */
-#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/vnode.h>
diff --git a/sys/dev/pci/bktr/bktr_core.c b/sys/dev/pci/bktr/bktr_core.c
index ac9eb62ce7e..c6eaa5bf9dc 100644
--- a/sys/dev/pci/bktr/bktr_core.c
+++ b/sys/dev/pci/bktr/bktr_core.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_core.c,v 1.20 2006/12/29 13:04:37 pedro Exp $ */
+/* $OpenBSD: bktr_core.c,v 1.21 2007/02/11 20:29:22 miod Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp $ */
/*
@@ -95,10 +95,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __OpenBSD__
-#include "opt_bktr.h" /* Include any kernel config options */
-#endif
-
#ifdef __FreeBSD__
#include "bktr.h"
#endif /* __FreeBSD__ */
diff --git a/sys/dev/pci/bktr/bktr_os.c b/sys/dev/pci/bktr/bktr_os.c
index af54a42bb3d..bcc96e16f9b 100644
--- a/sys/dev/pci/bktr/bktr_os.c
+++ b/sys/dev/pci/bktr/bktr_os.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_os.c,v 1.24 2006/02/05 23:52:58 jakemsr Exp $ */
+/* $OpenBSD: bktr_os.c,v 1.25 2007/02/11 20:29:22 miod Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp $ */
/*
@@ -53,10 +53,6 @@
#include "bktr.h"
#endif /* __FreeBSD__ */
-#ifndef __OpenBSD__
-#include "opt_bktr.h" /* include any kernel config options */
-#endif
-
#define FIFO_RISC_DISABLED 0
#define ALL_INTS_DISABLED 0
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c
index 5fd8c977e73..caa9d8d92c9 100644
--- a/sys/dev/usb/if_aue.c
+++ b/sys/dev/usb/if_aue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_aue.c,v 1.49 2006/09/26 12:23:40 jsg Exp $ */
+/* $OpenBSD: if_aue.c,v 1.50 2007/02/11 20:29:22 miod Exp $ */
/* $NetBSD: if_aue.c,v 1.82 2003/03/05 17:37:36 shiba Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -77,12 +77,6 @@
* proper cleanup on errors
*/
-#if defined(__NetBSD__)
-#include "opt_inet.h"
-#include "opt_ns.h"
-#include "rnd.h"
-#endif
-
#include "bpfilter.h"
#include <sys/param.h>
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c
index 96657878929..31d10e658af 100644
--- a/sys/dev/usb/if_cue.c
+++ b/sys/dev/usb/if_cue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cue.c,v 1.31 2006/06/23 06:27:11 miod Exp $ */
+/* $OpenBSD: if_cue.c,v 1.32 2007/02/11 20:29:22 miod Exp $ */
/* $NetBSD: if_cue.c,v 1.40 2002/07/11 21:14:26 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -56,14 +56,7 @@
* Ported to NetBSD and somewhat rewritten by Lennart Augustsson.
*/
-#if defined(__NetBSD__)
-#include "opt_inet.h"
-#include "opt_ns.h"
-#include "bpfilter.h"
-#include "rnd.h"
-#elif defined(__OpenBSD__)
#include "bpfilter.h"
-#endif /* defined(__OpenBSD__) */
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index a2a0937d570..c7259f69dc9 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_kue.c,v 1.43 2007/01/09 16:30:08 deraadt Exp $ */
+/* $OpenBSD: if_kue.c,v 1.44 2007/02/11 20:29:22 miod Exp $ */
/* $NetBSD: if_kue.c,v 1.50 2002/07/16 22:00:31 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -70,14 +70,7 @@
* Ported to NetBSD and somewhat rewritten by Lennart Augustsson.
*/
-#if defined(__NetBSD__)
-#include "opt_inet.h"
-#include "opt_ns.h"
-#include "bpfilter.h"
-#include "rnd.h"
-#elif defined(__OpenBSD__)
#include "bpfilter.h"
-#endif
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c
index 5ff49b21d88..81fb5fdd1b6 100644
--- a/sys/dev/usb/if_upl.c
+++ b/sys/dev/usb/if_upl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upl.c,v 1.25 2006/06/23 06:27:11 miod Exp $ */
+/* $OpenBSD: if_upl.c,v 1.26 2007/02/11 20:29:22 miod Exp $ */
/* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -41,12 +41,6 @@
* Prolific PL2301/PL2302 driver
*/
-#if defined(__NetBSD__)
-#include "opt_inet.h"
-#include "opt_ns.h"
-#include "rnd.h"
-#endif
-
#include "bpfilter.h"
#include <sys/param.h>
diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c
index 9f7f5d5de26..301beb72621 100644
--- a/sys/dev/usb/if_url.c
+++ b/sys/dev/usb/if_url.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_url.c,v 1.33 2006/07/14 23:07:26 brad Exp $ */
+/* $OpenBSD: if_url.c,v 1.34 2007/02/11 20:29:22 miod Exp $ */
/* $NetBSD: if_url.c,v 1.6 2002/09/29 10:19:21 martin Exp $ */
/*
* Copyright (c) 2001, 2002
@@ -43,12 +43,6 @@
* powerhook() support?
*/
-#if defined(__NetBSD__)
-#include "opt_inet.h"
-#include "opt_ns.h"
-#include "rnd.h"
-#endif
-
#include "bpfilter.h"
#include <sys/param.h>
diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c
index 7c324cb1fd0..eab33ccd34a 100644
--- a/sys/dev/usb/ukbd.c
+++ b/sys/dev/usb/ukbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ukbd.c,v 1.26 2007/01/13 07:43:15 miod Exp $ */
+/* $OpenBSD: ukbd.c,v 1.27 2007/02/11 20:29:22 miod Exp $ */
/* $NetBSD: ukbd.c,v 1.85 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -75,11 +75,6 @@
#include <dev/wscons/wsksymdef.h>
#include <dev/wscons/wsksymvar.h>
-#if defined(__NetBSD__)
-#include "opt_wsdisplay_compat.h"
-#include "opt_ddb.h"
-#endif
-
#ifdef UKBD_DEBUG
#define DPRINTF(x) do { if (ukbddebug) logprintf x; } while (0)
#define DPRINTFN(n,x) do { if (ukbddebug>(n)) logprintf x; } while (0)