summaryrefslogtreecommitdiff
path: root/sys/dev/pci/bktr/bktr_audio.c
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2007-06-11 08:10:23 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2007-06-11 08:10:23 +0000
commit9ce30b2fbc554957064fc6f7d62ff9968e656b58 (patch)
tree77a3f858ad90de047b47d702464f7f7ba5c61d5c /sys/dev/pci/bktr/bktr_audio.c
parenta08f36936d02ad0d6564a4d371996bdf3ecf85fc (diff)
remove all FreeBSD/NetBSD specific code because we will
never use them and the code is much more readable now ok jakemsr@
Diffstat (limited to 'sys/dev/pci/bktr/bktr_audio.c')
-rw-r--r--sys/dev/pci/bktr/bktr_audio.c31
1 files changed, 3 insertions, 28 deletions
diff --git a/sys/dev/pci/bktr/bktr_audio.c b/sys/dev/pci/bktr/bktr_audio.c
index 45678135a07..385433a3463 100644
--- a/sys/dev/pci/bktr/bktr_audio.c
+++ b/sys/dev/pci/bktr/bktr_audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_audio.c,v 1.8 2006/12/21 02:44:55 krw Exp $ */
+/* $OpenBSD: bktr_audio.c,v 1.9 2007/06/11 08:10:22 robert Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_audio.c,v 1.8 2000/10/31 13:09:56 roger Exp $ */
/*
* This is part of the Driver for Video Capture Cards (Frame grabbers)
@@ -51,39 +51,14 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/vnode.h>
-
-#ifdef __FreeBSD__
-
-#if (__FreeBSD_version < 500000)
-#include <machine/clock.h> /* for DELAY */
-#endif
-
-#include <pci/pcivar.h>
-
-#if (__FreeBSD_version >=300000)
-#include <machine/bus_memio.h> /* for bus space */
-#include <machine/bus.h>
-#include <sys/bus.h>
-#endif
-#endif
-
-#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/proc.h>
-#include <dev/ic/bt8xx.h> /* NetBSD location of .h files */
+
+#include <dev/ic/bt8xx.h> /* OpenBSD location of .h files */
#include <dev/pci/bktr/bktr_reg.h>
#include <dev/pci/bktr/bktr_core.h>
#include <dev/pci/bktr/bktr_tuner.h>
#include <dev/pci/bktr/bktr_card.h>
#include <dev/pci/bktr/bktr_audio.h>
-#else
-#include <machine/ioctl_meteor.h> /* Traditional location of .h files */
-#include <machine/ioctl_bt848.h> /* extensions to ioctl_meteor.h */
-#include <dev/bktr/bktr_reg.h>
-#include <dev/bktr/bktr_core.h>
-#include <dev/bktr/bktr_tuner.h>
-#include <dev/bktr/bktr_card.h>
-#include <dev/bktr/bktr_audio.h>
-#endif
/*
* Prototypes for the GV_BCTV specific functions.