summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-22 14:18:27 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-22 14:18:27 -0200
commit786d73eb9aad6efa7ddd89150d18a689d08f4e07 (patch)
tree98bfb21058c8de2fe6b638db2ac9127bf62407d0 /linux/include
parent71447659e72af9641c95885d7b92a568e7ce8dfc (diff)
downloadmediapointer-dvb-s2-786d73eb9aad6efa7ddd89150d18a689d08f4e07.tar.gz
mediapointer-dvb-s2-786d73eb9aad6efa7ddd89150d18a689d08f4e07.tar.bz2
em28xx: Add suport for debugging AC97 anciliary chips
From: Mauro Carvalho Chehab <mchehab@redhat.com> 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 'linux/include')
-rw-r--r--linux/include/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h
index f64a3f780..018894814 100644
--- a/linux/include/linux/videodev2.h
+++ b/linux/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 */