History

[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.

Hans Verkuil committed 13 years ago

Commit b71c9981 parent 12869147 files · +4 −403Browse files

Showing the changes to include/uapi/linux (1 of 7 files). Show all

Unified · Split

include/uapi/linux/videodev2.h+3−14
@@ -1787,11 +1787,13 @@ struct v4l2_event_subscription { · 1786 unmodified lines
17871787 /* VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER */
17881788
17891789 #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 */
17901793 #define V4L2_CHIP_MATCH_HOST V4L2_CHIP_MATCH_BRIDGE
17911794 #define V4L2_CHIP_MATCH_I2C_DRIVER 1 /* Match against I2C driver name */
17921795 #define V4L2_CHIP_MATCH_I2C_ADDR 2 /* Match against I2C 7-bit address */
17931796 #define V4L2_CHIP_MATCH_AC97 3 /* Match against ancillary AC97 chip */
1794−#define V4L2_CHIP_MATCH_SUBDEV 4 /* Match against subdev index */
17951797
17961798 struct v4l2_dbg_match {
17971799 __u32 type; /* Match type */
@@ -1808,13 +1810,6 @@ struct v4l2_dbg_register { · 10 unmodified lines
18081810 __u64 val;
18091811 } __attribute__ ((packed));
18101812
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−
18181813 #define V4L2_CHIP_FL_READABLE (1 << 0)
18191814 #define V4L2_CHIP_FL_WRITABLE (1 << 1)
18201815
@@ -1915,12 +1910,6 @@ struct v4l2_create_buffers { · 94 unmodified lines
19151910 #define VIDIOC_DBG_S_REGISTER _IOW('V', 79, struct v4l2_dbg_register)
19161911 #define VIDIOC_DBG_G_REGISTER _IOWR('V', 80, struct v4l2_dbg_register)
19171912
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−
19241913 #define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek)
19251914
19261915 #define VIDIOC_S_DV_TIMINGS _IOWR('V', 87, struct v4l2_dv_timings)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t