summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/ioctl_bt848.h
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1997-03-10 06:38:26 +0000
committermarkm <markm@FreeBSD.org>1997-03-10 06:38:26 +0000
commit075d27ba8ebaed8a7e378297085b1b0bdc44dcd9 (patch)
treed889f7c95bc20e551ab8113330c3ef97cf547013 /sys/i386/include/ioctl_bt848.h
parente9a946ef3e52bd9c9c968940ae4a993e2cd7a849 (diff)
downloadFreeBSD-src-075d27ba8ebaed8a7e378297085b1b0bdc44dcd9.zip
FreeBSD-src-075d27ba8ebaed8a7e378297085b1b0bdc44dcd9.tar.gz
Initial import of the Brooktree PCI-TV drivers. I have not tested
these, they may not even compile. I am importing them on behalf of the submitters. Submitted by: amancio, smp
Diffstat (limited to 'sys/i386/include/ioctl_bt848.h')
-rw-r--r--sys/i386/include/ioctl_bt848.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/i386/include/ioctl_bt848.h b/sys/i386/include/ioctl_bt848.h
new file mode 100644
index 0000000..159a764
--- /dev/null
+++ b/sys/i386/include/ioctl_bt848.h
@@ -0,0 +1,34 @@
+/*
+ * extensions to ioctl_meteor.h for the bt848 cards
+ *
+ * $Id$
+ */
+
+/*
+ * tuner types for the
+ */
+#define TUNERTYPE_NABCST 1
+#define TUNERTYPE_CABLEIRC 2
+#define TUNERTYPE_CABLEHRC 3
+#define TUNERTYPE_WEUROPE 4
+
+
+/*
+ * XXX: this is a hack, should be in ioctl_meteor.h
+ * here to avoid touching that file for now...
+ */
+#define TVTUNER_SETCHNL _IOW('x', 32, unsigned int) /* set channel */
+#define TVTUNER_GETCHNL _IOR('x', 32, unsigned int) /* get channel */
+#define TVTUNER_SETTYPE _IOW('x', 33, unsigned int) /* set tuner type */
+#define TVTUNER_GETTYPE _IOR('x', 33, unsigned int) /* get tuner type */
+#define TVTUNER_GETSTATUS _IOR('x', 34, unsigned int) /* get tuner status */
+
+
+/*
+ * XXX: more bad magic,
+ * we need to fix the METEORGINPUT to return something public
+ * duplicate them here for now...
+ */
+#define METEOR_DEV0 0x00001000
+#define METEOR_DEV1 0x00002000
+#define METEOR_DEV2 0x00004000
OpenPOWER on IntegriCloud