This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-utils.git tree:
Subject: v4l-utils: sync with latest kernel. Author: Hans Verkuil <hans.verk...@cisco.com> Date: Mon Apr 15 08:19:26 2013 +0200 Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> contrib/freebsd/include/linux/dvb/dmx.h | 2 +- contrib/freebsd/include/linux/videodev2.h | 15 +++++++-------- contrib/test/ioctl-test.h | 4 ++-- contrib/test/ioctl_32.h | 2 +- contrib/test/ioctl_64.h | 2 +- include/linux/dvb/dmx.h | 2 +- include/linux/videodev2.h | 15 +++++++-------- utils/keytable/rc_maps.cfg | 1 + utils/v4l2-compliance/v4l2-test-debug.cpp | 4 ++-- 9 files changed, 23 insertions(+), 24 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=7ddadf91ed992f18c3300b6ca8f2313a6380b5c6 diff --git a/contrib/freebsd/include/linux/dvb/dmx.h b/contrib/freebsd/include/linux/dvb/dmx.h index 4b3fee8..65ab779 100644 --- a/contrib/freebsd/include/linux/dvb/dmx.h +++ b/contrib/freebsd/include/linux/dvb/dmx.h @@ -50,7 +50,7 @@ typedef enum } dmx_input_t; -typedef enum +typedef enum dmx_ts_pes { DMX_PES_AUDIO0, DMX_PES_VIDEO0, diff --git a/contrib/freebsd/include/linux/videodev2.h b/contrib/freebsd/include/linux/videodev2.h index b88ba17..f2de66c 100644 --- a/contrib/freebsd/include/linux/videodev2.h +++ b/contrib/freebsd/include/linux/videodev2.h @@ -1108,7 +1108,7 @@ struct v4l2_bt_timings { longer and field 2 is really one half-line shorter, so each field has exactly the same number of half-lines. Whether half-lines can be detected or used depends on the hardware. */ -#define V4L2_DV_FL_HALF_LINE (1 << 0) +#define V4L2_DV_FL_HALF_LINE (1 << 3) /** struct v4l2_dv_timings - DV timings @@ -1846,8 +1846,7 @@ struct v4l2_event_subscription { #define V4L2_CHIP_MATCH_I2C_DRIVER 1 /* Match against I2C driver name */ #define V4L2_CHIP_MATCH_I2C_ADDR 2 /* Match against I2C 7-bit address */ #define V4L2_CHIP_MATCH_AC97 3 /* Match against anciliary AC97 chip */ -#define V4L2_CHIP_MATCH_SUBDEV_NAME 4 /* Match against subdev name */ -#define V4L2_CHIP_MATCH_SUBDEV_IDX 5 /* Match against subdev index */ +#define V4L2_CHIP_MATCH_SUBDEV 4 /* Match against subdev index */ struct v4l2_dbg_match { uint32_t type; /* Match type */ @@ -1874,12 +1873,12 @@ struct v4l2_dbg_chip_ident { #define V4L2_CHIP_FL_READABLE (1 << 0) #define V4L2_CHIP_FL_WRITABLE (1 << 1) -/* VIDIOC_DBG_G_CHIP_NAME */ -struct v4l2_dbg_chip_name { +/* VIDIOC_DBG_G_CHIP_INFO */ +struct v4l2_dbg_chip_info { struct v4l2_dbg_match match; char name[32]; uint32_t flags; - uint32_t reserved[8]; + uint32_t reserved[32]; } __attribute__ ((packed)); /** @@ -1973,7 +1972,7 @@ struct v4l2_create_buffers { /* Experimental, meant for debugging, testing and internal use. Never use this ioctl in applications! - Note: this ioctl is deprecated in favor of VIDIOC_DBG_G_CHIP_NAME and + Note: this ioctl is deprecated in favor of VIDIOC_DBG_G_CHIP_INFO and will go away in the future. */ #define VIDIOC_DBG_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_dbg_chip_ident) @@ -2011,7 +2010,7 @@ struct v4l2_create_buffers { /* Experimental, meant for debugging, testing and internal use. Never use these in applications! */ -#define VIDIOC_DBG_G_CHIP_NAME _IOWR('V', 102, struct v4l2_dbg_chip_name) +#define VIDIOC_DBG_G_CHIP_INFO _IOWR('V', 102, struct v4l2_dbg_chip_info) /* Reminder: when adding new ioctls please add support for them to drivers/media/video/v4l2-compat-ioctl32.c as well! */ diff --git a/contrib/test/ioctl-test.h b/contrib/test/ioctl-test.h index 9f01b4d..a087907 100644 --- a/contrib/test/ioctl-test.h +++ b/contrib/test/ioctl-test.h @@ -31,7 +31,7 @@ union v4l_parms { struct v4l2_crop p_v4l2_crop; struct v4l2_cropcap p_v4l2_cropcap; struct v4l2_dbg_chip_ident p_v4l2_dbg_chip_ident; - struct v4l2_dbg_chip_name p_v4l2_dbg_chip_name; + struct v4l2_dbg_chip_info p_v4l2_dbg_chip_info; struct v4l2_dbg_register p_v4l2_dbg_register; struct v4l2_decoder_cmd p_v4l2_decoder_cmd; struct v4l2_dv_timings p_v4l2_dv_timings; @@ -109,7 +109,7 @@ static const struct { ioc(video, VIDIOC_CREATE_BUFS), /* struct v4l2_create_buffers */ ioc(video, VIDIOC_CROPCAP), /* struct v4l2_cropcap */ ioc(video, VIDIOC_DBG_G_CHIP_IDENT), /* struct v4l2_dbg_chip_ident */ - ioc(video, VIDIOC_DBG_G_CHIP_NAME), /* struct v4l2_dbg_chip_name */ + ioc(video, VIDIOC_DBG_G_CHIP_INFO), /* struct v4l2_dbg_chip_info */ ioc(video, VIDIOC_DBG_G_REGISTER), /* struct v4l2_dbg_register */ ioc(video, VIDIOC_DBG_S_REGISTER), /* struct v4l2_dbg_register */ ioc(video, VIDIOC_DECODER_CMD), /* struct v4l2_decoder_cmd */ diff --git a/contrib/test/ioctl_32.h b/contrib/test/ioctl_32.h index 7debedd..b323bb2 100644 --- a/contrib/test/ioctl_32.h +++ b/contrib/test/ioctl_32.h @@ -34,7 +34,7 @@ #define CMD32_VIDIOC_CREATE_BUFS 0xc0f8565c #define CMD32_VIDIOC_CROPCAP 0xc02c563a #define CMD32_VIDIOC_DBG_G_CHIP_IDENT 0xc02c5651 -#define CMD32_VIDIOC_DBG_G_CHIP_NAME 0xc0685666 +#define CMD32_VIDIOC_DBG_G_CHIP_INFO 0xc0c85666 #define CMD32_VIDIOC_DBG_G_REGISTER 0xc0385650 #define CMD32_VIDIOC_DBG_S_REGISTER 0x4038564f #define CMD32_VIDIOC_DECODER_CMD 0xc0485660 diff --git a/contrib/test/ioctl_64.h b/contrib/test/ioctl_64.h index 65bbd60..23e786d 100644 --- a/contrib/test/ioctl_64.h +++ b/contrib/test/ioctl_64.h @@ -34,7 +34,7 @@ #define CMD64_VIDIOC_CREATE_BUFS 0xc100565c #define CMD64_VIDIOC_CROPCAP 0xc02c563a #define CMD64_VIDIOC_DBG_G_CHIP_IDENT 0xc02c5651 -#define CMD64_VIDIOC_DBG_G_CHIP_NAME 0xc0685666 +#define CMD64_VIDIOC_DBG_G_CHIP_INFO 0xc0c85666 #define CMD64_VIDIOC_DBG_G_REGISTER 0xc0385650 #define CMD64_VIDIOC_DBG_S_REGISTER 0x4038564f #define CMD64_VIDIOC_DECODER_CMD 0xc0485660 diff --git a/include/linux/dvb/dmx.h b/include/linux/dvb/dmx.h index b2a9ad8..b4fb650 100644 --- a/include/linux/dvb/dmx.h +++ b/include/linux/dvb/dmx.h @@ -51,7 +51,7 @@ typedef enum } dmx_input_t; -typedef enum +typedef enum dmx_ts_pes { DMX_PES_AUDIO0, DMX_PES_VIDEO0, diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index e9c49c5..97fb392 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -1074,7 +1074,7 @@ struct v4l2_bt_timings { longer and field 2 is really one half-line shorter, so each field has exactly the same number of half-lines. Whether half-lines can be detected or used depends on the hardware. */ -#define V4L2_DV_FL_HALF_LINE (1 << 0) +#define V4L2_DV_FL_HALF_LINE (1 << 3) /** struct v4l2_dv_timings - DV timings @@ -1812,8 +1812,7 @@ struct v4l2_event_subscription { #define V4L2_CHIP_MATCH_I2C_DRIVER 1 /* Match against I2C driver name */ #define V4L2_CHIP_MATCH_I2C_ADDR 2 /* Match against I2C 7-bit address */ #define V4L2_CHIP_MATCH_AC97 3 /* Match against anciliary AC97 chip */ -#define V4L2_CHIP_MATCH_SUBDEV_NAME 4 /* Match against subdev name */ -#define V4L2_CHIP_MATCH_SUBDEV_IDX 5 /* Match against subdev index */ +#define V4L2_CHIP_MATCH_SUBDEV 4 /* Match against subdev index */ struct v4l2_dbg_match { __u32 type; /* Match type */ @@ -1840,12 +1839,12 @@ struct v4l2_dbg_chip_ident { #define V4L2_CHIP_FL_READABLE (1 << 0) #define V4L2_CHIP_FL_WRITABLE (1 << 1) -/* VIDIOC_DBG_G_CHIP_NAME */ -struct v4l2_dbg_chip_name { +/* VIDIOC_DBG_G_CHIP_INFO */ +struct v4l2_dbg_chip_info { struct v4l2_dbg_match match; char name[32]; __u32 flags; - __u32 reserved[8]; + __u32 reserved[32]; } __attribute__ ((packed)); /** @@ -1939,7 +1938,7 @@ struct v4l2_create_buffers { /* Experimental, meant for debugging, testing and internal use. Never use this ioctl in applications! - Note: this ioctl is deprecated in favor of VIDIOC_DBG_G_CHIP_NAME and + Note: this ioctl is deprecated in favor of VIDIOC_DBG_G_CHIP_INFO and will go away in the future. */ #define VIDIOC_DBG_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_dbg_chip_ident) @@ -1977,7 +1976,7 @@ struct v4l2_create_buffers { /* Experimental, meant for debugging, testing and internal use. Never use these in applications! */ -#define VIDIOC_DBG_G_CHIP_NAME _IOWR('V', 102, struct v4l2_dbg_chip_name) +#define VIDIOC_DBG_G_CHIP_INFO _IOWR('V', 102, struct v4l2_dbg_chip_info) /* Reminder: when adding new ioctls please add support for them to drivers/media/video/v4l2-compat-ioctl32.c as well! */ diff --git a/utils/keytable/rc_maps.cfg b/utils/keytable/rc_maps.cfg index 8bfbe0c..6c12a33 100644 --- a/utils/keytable/rc_maps.cfg +++ b/utils/keytable/rc_maps.cfg @@ -67,6 +67,7 @@ * rc-asus-ps3-100 asus_ps3_100 * rc-pv951 pv951 * rc-avermedia-m135a avermedia_m135a +* rc-reddo reddo * rc-kworld-pc150u kworld_pc150u * rc-kaiomy kaiomy * rc-avermedia-dvbt avermedia_dvbt diff --git a/utils/v4l2-compliance/v4l2-test-debug.cpp b/utils/v4l2-compliance/v4l2-test-debug.cpp index a178f78..854a116 100644 --- a/utils/v4l2-compliance/v4l2-test-debug.cpp +++ b/utils/v4l2-compliance/v4l2-test-debug.cpp @@ -37,7 +37,7 @@ int testRegister(struct node *node) { struct v4l2_dbg_register reg; - struct v4l2_dbg_chip_name chip; + struct v4l2_dbg_chip_info chip; int ret; int uid = getuid(); @@ -52,7 +52,7 @@ int testRegister(struct node *node) fail_on_test(uid == 0 && ret); chip.match.type = V4L2_CHIP_MATCH_BRIDGE; chip.match.addr = 0; - fail_on_test(doioctl(node, VIDIOC_DBG_G_CHIP_NAME, &chip)); + fail_on_test(doioctl(node, VIDIOC_DBG_G_CHIP_INFO, &chip)); if (uid) { // Don't test S_REGISTER as root, don't want to risk // messing with registers in the compliance test. _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits