summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-22 13:18:27 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:39:27 -0200
commit531c98e71805b32e9ea35a218119100bbd2b7615 (patch)
tree548f878b2d4abd66bee8d0fa0b19eeb9cf3182c9 /include
parent4b00eb25340c1a9b9eedaf0bc5b0f0d18eddb028 (diff)
downloadop-kernel-dev-531c98e71805b32e9ea35a218119100bbd2b7615.zip
op-kernel-dev-531c98e71805b32e9ea35a218119100bbd2b7615.tar.gz
V4L/DVB (9953): em28xx: Add suport for debugging AC97 anciliary chips
The em28xx driver can be coupled to an anciliary AC97 chip. This patch allows read/write AC97 registers directly. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 754c8d9..e31144d 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -1376,6 +1376,7 @@ struct v4l2_streamparm {
#define V4L2_CHIP_MATCH_HOST 0 /* Match against chip ID on host (0 for the host) */
#define V4L2_CHIP_MATCH_I2C_DRIVER 1 /* Match against I2C driver ID */
#define V4L2_CHIP_MATCH_I2C_ADDR 2 /* Match against I2C 7-bit address */
+#define V4L2_CHIP_MATCH_AC97 3 /* Match against anciliary AC97 chip */
struct v4l2_register {
__u32 match_type; /* Match type */
OpenPOWER on IntegriCloud