diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-05-26 09:03:01 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-21 09:46:44 -0400 |
commit | b71c99801e18eb172ae34851daf25044a3bf644a (patch) | |
tree | bf269d9d56c7a472022866e8cb186d6be6f060f4 /include/uapi/linux/videodev2.h | |
parent | 12869145718571ffa4f6e650a6f759934eeca0d9 (diff) |
[media] v4l2-core: remove support for obsolete VIDIOC_DBG_G_CHIP_IDENT
This has been replaced by the new and much better VIDIOC_DBG_G_CHIP_INFO.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
-rw-r--r-- | include/uapi/linux/videodev2.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 2c5e67a45436..95ef4551edc1 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h | |||
@@ -1787,11 +1787,13 @@ struct v4l2_event_subscription { | |||
1787 | /* VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER */ | 1787 | /* VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER */ |
1788 | 1788 | ||
1789 | #define V4L2_CHIP_MATCH_BRIDGE 0 /* Match against chip ID on the bridge (0 for the bridge) */ | 1789 | #define V4L2_CHIP_MATCH_BRIDGE 0 /* Match against chip ID on the bridge (0 for the bridge) */ |
1790 | #define V4L2_CHIP_MATCH_SUBDEV 4 /* Match against subdev index */ | ||
1791 | |||
1792 | /* The following four defines are no longer in use */ | ||
1790 | #define V4L2_CHIP_MATCH_HOST V4L2_CHIP_MATCH_BRIDGE | 1793 | #define V4L2_CHIP_MATCH_HOST V4L2_CHIP_MATCH_BRIDGE |
1791 | #define V4L2_CHIP_MATCH_I2C_DRIVER 1 /* Match against I2C driver name */ | 1794 | #define V4L2_CHIP_MATCH_I2C_DRIVER 1 /* Match against I2C driver name */ |
1792 | #define V4L2_CHIP_MATCH_I2C_ADDR 2 /* Match against I2C 7-bit address */ | 1795 | #define V4L2_CHIP_MATCH_I2C_ADDR 2 /* Match against I2C 7-bit address */ |
1793 | #define V4L2_CHIP_MATCH_AC97 3 /* Match against ancillary AC97 chip */ | 1796 | #define V4L2_CHIP_MATCH_AC97 3 /* Match against ancillary AC97 chip */ |
1794 | #define V4L2_CHIP_MATCH_SUBDEV 4 /* Match against subdev index */ | ||
1795 | 1797 | ||
1796 | struct v4l2_dbg_match { | 1798 | struct v4l2_dbg_match { |
1797 | __u32 type; /* Match type */ | 1799 | __u32 type; /* Match type */ |
@@ -1808,13 +1810,6 @@ struct v4l2_dbg_register { | |||
1808 | __u64 val; | 1810 | __u64 val; |
1809 | } __attribute__ ((packed)); | 1811 | } __attribute__ ((packed)); |
1810 | 1812 | ||
1811 | /* VIDIOC_DBG_G_CHIP_IDENT */ | ||
1812 | struct v4l2_dbg_chip_ident { | ||
1813 | struct v4l2_dbg_match match; | ||
1814 | __u32 ident; /* chip identifier as specified in <media/v4l2-chip-ident.h> */ | ||
1815 | __u32 revision; /* chip revision, chip specific */ | ||
1816 | } __attribute__ ((packed)); | ||
1817 | |||
1818 | #define V4L2_CHIP_FL_READABLE (1 << 0) | 1813 | #define V4L2_CHIP_FL_READABLE (1 << 0) |
1819 | #define V4L2_CHIP_FL_WRITABLE (1 << 1) | 1814 | #define V4L2_CHIP_FL_WRITABLE (1 << 1) |
1820 | 1815 | ||
@@ -1915,12 +1910,6 @@ struct v4l2_create_buffers { | |||
1915 | #define VIDIOC_DBG_S_REGISTER _IOW('V', 79, struct v4l2_dbg_register) | 1910 | #define VIDIOC_DBG_S_REGISTER _IOW('V', 79, struct v4l2_dbg_register) |
1916 | #define VIDIOC_DBG_G_REGISTER _IOWR('V', 80, struct v4l2_dbg_register) | 1911 | #define VIDIOC_DBG_G_REGISTER _IOWR('V', 80, struct v4l2_dbg_register) |
1917 | 1912 | ||
1918 | /* Experimental, meant for debugging, testing and internal use. | ||
1919 | Never use this ioctl in applications! | ||
1920 | Note: this ioctl is deprecated in favor of VIDIOC_DBG_G_CHIP_INFO and | ||
1921 | will go away in the future. */ | ||
1922 | #define VIDIOC_DBG_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_dbg_chip_ident) | ||
1923 | |||
1924 | #define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek) | 1913 | #define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek) |
1925 | 1914 | ||
1926 | #define VIDIOC_S_DV_TIMINGS _IOWR('V', 87, struct v4l2_dv_timings) | 1915 | #define VIDIOC_S_DV_TIMINGS _IOWR('V', 87, struct v4l2_dv_timings) |