File:
[DVB] /
dvb-kernel /
analog-2.4 /
mxb.h
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Wed May 28 07:50:13 2003 UTC (21 years ago) by
hunold
Branches:
MAIN
CVS tags:
twinhan-exp,
twinhan,
linux_2_4_branch,
linux_2_4,
experimental-dvb-devfs-fake,
OLD_11_HEAD_2004_10_28,
LINUXTV-DVB-1_1_1,
LINUXTV-DVB-1_1_0,
HEAD,
FE_REFACTORING
I removed all "analog" drivers from the main CVS repository and moved them
to a separate "analog-2.4" directory. Main reasons:
- the drivers don't have anything to do with dvb 8-)
- the drivers are already in the kernel (besides the "Hexium" driver)
and don't change that much any more
- the analog drivers rely on the i2c subsystem, which was heavily modified
between 2.4 and 2.5. When making a new DVB patchset I have to work around
these differences every time, which is very annoying
#ifndef __MXB__
#define __MXB__
#define BASE_VIDIOC_MXB 10
#define MXB_S_AUDIO_CD _IOW ('V', BASE_VIDIOC_PRIVATE+BASE_VIDIOC_MXB+0, int)
#define MXB_S_AUDIO_LINE _IOW ('V', BASE_VIDIOC_PRIVATE+BASE_VIDIOC_MXB+1, 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] = {
{
.index = 0,
.name = "Tuner",
.capability = V4L2_AUDCAP_STEREO,
} , {
.index = 1,
.name = "AUX1",
.capability = V4L2_AUDCAP_STEREO,
} , {
.index = 2,
.name = "AUX2",
.capability = V4L2_AUDCAP_STEREO,
} , {
.index = 3,
.name = "AUX3",
.capability = V4L2_AUDCAP_STEREO,
} , {
.index = 4,
.name = "Radio (X9)",
.capability = V4L2_AUDCAP_STEREO,
} , {
.index = 5,
.name = "CD-ROM (X10)",
.capability = V4L2_AUDCAP_STEREO,
}
};
#endif
LinuxTV legacy CVS <linuxtv.org/cvs>