summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/mxb.h
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2002-12-17 16:10:20 +0000
committerMichael Hunold <devnull@localhost>2002-12-17 16:10:20 +0000
commit648fb619790cc40a8f4eec94e585a653bd680122 (patch)
treeb5e939164837c82f4f5ad81082f3281d1a9127eb /linux/drivers/media/video/mxb.h
parent7b024f3ee0340a819eb279c71367d2b2af44bbbc (diff)
downloadmediapointer-dvb-s2-648fb619790cc40a8f4eec94e585a653bd680122.tar.gz
mediapointer-dvb-s2-648fb619790cc40a8f4eec94e585a653bd680122.tar.bz2
Add the video4linux driver for the "Multimedia eXtension Board",
an analogue tv card based on the saa7146. Warning: Makefile and Kconfig will most likely be changed by Gerd Knorr as well, so be sure to change these accordingly. Warning2: "saa7111" is already available in the kernel, but needs to be modified, as well as "video_decoder" in include/linux
Diffstat (limited to 'linux/drivers/media/video/mxb.h')
-rw-r--r--linux/drivers/media/video/mxb.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/linux/drivers/media/video/mxb.h b/linux/drivers/media/video/mxb.h
new file mode 100644
index 000000000..3f73ea7ca
--- /dev/null
+++ b/linux/drivers/media/video/mxb.h
@@ -0,0 +1,22 @@
+#ifndef __MXB__
+#define __MXB__
+
+#define BASE_VIDIOC_MXB 10
+
+#define MXB_S_AUDIO_CD _IOW ('V', BASE_VIDIOC_PRIVATE+BASE_VIDIOC_MXB+00, int)
+#define MXB_S_AUDIO_LINE _IOW ('V', BASE_VIDIOC_PRIVATE+BASE_VIDIOC_MXB+01, int)
+
+#define MXB_IDENTIFIER "Multimedia eXtension Board"
+
+#define MXB_AUDIOS 6
+
+/* these are the available audio sources, which can switched
+ to the line- and cd-output individually */
+struct v4l2_audio mxb_audios[MXB_AUDIOS] =
+ { { 0, "Tuner", 0},
+ { 1, "AUX1", 0},
+ { 2, "AUX2", 0},
+ { 3, "AUX3", 0},
+ { 4, "Radio (X9)", 0},
+ { 5, "CD-ROM (X10)", 0} };
+#endif