Hi Mauro, Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb for the following: - msp3400: remove i2c legacy code - saa7115: remove i2c legacy code - tvp5150: remove i2c legacy code. - tuner: remove i2c legacy code. - tvaudio: remove i2c legacy code - v4l: remove obsolete header and source - v4l2-common: remove legacy code - v4l2-subdev: move s_standby from core to tuner. - v4l2-subdev: add load_fw and use that instead of abusing core->init. - v4l2-subdev: move s_std from tuner to core. - v4l2: remove legacy fields in v4l2-i2c-drv.h. - v4l2: use old-style i2c API for kernels < 2.6.26 instead of < 2.6.22 - v4l2-common: add explicit v4l2_device pointer as first arg to new_(probed)_subdev - v4l2-common: add v4l2_i2c_new_probed_subdev_addr - v4l2: use v4l2_i2c_new_probed_subdev_addr where appropriate. - tvaudio.h: add static inline to retrieve the list of possible i2c addrs. - v4l: increase version numbers of drivers converted to v4l2_subdev. - v4l2-subdev: change prototype of s_crystal_freq. - mxb: fix copy-and-paste bug in mute. - v4l2-subdev: change s_routing prototype - ivtv/cx18: remove VIDIOC_INT_S_AUDIO_ROUTING debug support. - saa7146: fix incorrect comment. - v4l2-i2c-drv.h: fix compilation on kernel 2.6.25. This finalizes (I hope :-) ) the v4l2-subdev conversion. Most of these patches above remove code that's no longer needed. There are also some v4l2-subdev.h API improvements that I postponed until all the drivers were converted. These changes are trivial, but touch on a lot of files. The other major change is that the old i2c autoprobing API is now used for kernels < 2.6.26. This was < 2.6.22, but a bug in i2c_new_probed_subdev prevent us from using the new i2c API for kernels 2.6.22-2.6.25. Actually it would be possible with 2.6.25, but since there were some other i2c API changes in 2.6.26 anyway I decided that it made life easier if we put the switchover point at 2.6.26. There are some other cleanups I could do, but all the important ones are now taken care of. I would like to take the opportunity to thank Jean Delvare for his support and his help in testing various drivers and working on ir-kbd-i2c, and Mauro for processing and merging all my patches. I feel a little guilty for burying Mauro in this big pile of patches :-) I also want to thank Andy Walls for doing the cx18 conversion, Mike Isely for doing the pvrusb2 conversion, Douglas Landgraf for doing the em28xx conversion, Trent Piepho for his reviews, Steve Toth for testing the cx23885 driver, Devin Heitmueller for converting au8522/au0828 and Sri Deevi for converting the cx231xx driver at short notice. I've no doubt forgotten people, for which I apologize. This was a major project, but an important one and it puts the foundation in place of a much more powerful V4L2 framework. For me that's just as important, if not more so, as the removal of the old i2c autoprobing behavior. For 2.6.31 I intend to consolidate and build on this and hopefully start moving some functionality from the drivers into the core. I also hope that the TI modules and soc-camera can be converted to v4l2-subdev. I think that will be very useful indeed, since the reusability that v4l2-subdev offers is a major advantage. Thanks! Hans diffstat: a/linux/drivers/media/video/v4l2-subdev.c | 128 ---------- a/linux/include/media/v4l2-i2c-drv-legacy.h | 196 ---------------- linux/Documentation/video4linux/v4l2-framework.txt | 19 - linux/drivers/media/common/saa7146_i2c.c | 8 linux/drivers/media/dvb/frontends/au8522_decoder.c | 14 - linux/drivers/media/video/Makefile | 2 linux/drivers/media/video/adv7170.c | 21 - linux/drivers/media/video/adv7175.c | 19 - linux/drivers/media/video/au0828/au0828-cards.c | 8 linux/drivers/media/video/au0828/au0828-video.c | 12 linux/drivers/media/video/bt819.c | 17 - linux/drivers/media/video/bt856.c | 13 - linux/drivers/media/video/bt866.c | 13 - linux/drivers/media/video/bt8xx/bttv-cards.c | 82 ++---- linux/drivers/media/video/bt8xx/bttv-driver.c | 29 +- linux/drivers/media/video/bt8xx/bttv-i2c.c | 4 linux/drivers/media/video/bt8xx/bttvp.h | 2 linux/drivers/media/video/cafe_ccic.c | 2 linux/drivers/media/video/cs5345.c | 13 - linux/drivers/media/video/cs53l32a.c | 11 linux/drivers/media/video/cx18/cx18-audio.c | 9 linux/drivers/media/video/cx18/cx18-av-core.c | 78 +++--- linux/drivers/media/video/cx18/cx18-av-core.h | 5 linux/drivers/media/video/cx18/cx18-driver.c | 4 linux/drivers/media/video/cx18/cx18-fileops.c | 2 linux/drivers/media/video/cx18/cx18-gpio.c | 6 linux/drivers/media/video/cx18/cx18-i2c.c | 16 - linux/drivers/media/video/cx18/cx18-ioctl.c | 14 - linux/drivers/media/video/cx18/cx18-video.c | 16 - linux/drivers/media/video/cx231xx/cx231xx-cards.c | 15 - linux/drivers/media/video/cx231xx/cx231xx-video.c | 11 linux/drivers/media/video/cx23885/cx23885-417.c | 2 linux/drivers/media/video/cx23885/cx23885-cards.c | 5 linux/drivers/media/video/cx23885/cx23885-core.c | 2 linux/drivers/media/video/cx23885/cx23885-dvb.c | 2 linux/drivers/media/video/cx23885/cx23885-i2c.c | 2 linux/drivers/media/video/cx23885/cx23885-video.c | 20 - linux/drivers/media/video/cx23885/cx23885.h | 2 linux/drivers/media/video/cx25840/cx25840-core.c | 22 - linux/drivers/media/video/cx88/cx88-cards.c | 17 - linux/drivers/media/video/cx88/cx88-core.c | 2 linux/drivers/media/video/cx88/cx88-dvb.c | 2 linux/drivers/media/video/cx88/cx88-i2c.c | 2 linux/drivers/media/video/cx88/cx88-video.c | 29 -- linux/drivers/media/video/cx88/cx88.h | 2 linux/drivers/media/video/em28xx/em28xx-cards.c | 36 +- linux/drivers/media/video/em28xx/em28xx-core.c | 11 linux/drivers/media/video/em28xx/em28xx-video.c | 23 - linux/drivers/media/video/indycam.c | 2 linux/drivers/media/video/ivtv/ivtv-driver.c | 9 linux/drivers/media/video/ivtv/ivtv-fileops.c | 17 - linux/drivers/media/video/ivtv/ivtv-gpio.c | 18 - linux/drivers/media/video/ivtv/ivtv-i2c.c | 25 +- linux/drivers/media/video/ivtv/ivtv-ioctl.c | 20 - linux/drivers/media/video/ivtv/ivtv-routing.c | 66 ++--- linux/drivers/media/video/ks0127.c | 23 - linux/drivers/media/video/m52790.c | 9 linux/drivers/media/video/msp3400-driver.c | 40 +-- linux/drivers/media/video/msp3400-driver.h | 3 linux/drivers/media/video/msp3400-kthreads.c | 6 linux/drivers/media/video/mxb.c | 150 +++++------- linux/drivers/media/video/ovcamchip/ovcamchip_core.c | 2 linux/drivers/media/video/pvrusb2/pvrusb2-audio.c | 8 linux/drivers/media/video/pvrusb2/pvrusb2-cs53l32a.c | 7 linux/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | 9 linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 8 linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c | 8 linux/drivers/media/video/pvrusb2/pvrusb2-wm8775.c | 12 linux/drivers/media/video/saa5246a.c | 2 linux/drivers/media/video/saa5249.c | 2 linux/drivers/media/video/saa6588.c | 2 linux/drivers/media/video/saa7110.c | 19 - linux/drivers/media/video/saa7115.c | 65 ++--- linux/drivers/media/video/saa7127.c | 13 - linux/drivers/media/video/saa7134/saa6752hs.c | 6 linux/drivers/media/video/saa7134/saa7134-cards.c | 20 - linux/drivers/media/video/saa7134/saa7134-core.c | 15 - linux/drivers/media/video/saa7134/saa7134-i2c.c | 2 linux/drivers/media/video/saa7134/saa7134-video.c | 6 linux/drivers/media/video/saa7134/saa7134.h | 2 linux/drivers/media/video/saa717x.c | 27 +- linux/drivers/media/video/saa7185.c | 11 linux/drivers/media/video/saa7191.c | 12 linux/drivers/media/video/tda7432.c | 2 linux/drivers/media/video/tda9840.c | 13 - linux/drivers/media/video/tda9875.c | 2 linux/drivers/media/video/tea6415c.c | 18 - linux/drivers/media/video/tea6420.c | 30 -- linux/drivers/media/video/tlv320aic23b.c | 2 linux/drivers/media/video/tuner-core.c | 83 +++--- linux/drivers/media/video/tvaudio.c | 37 +-- linux/drivers/media/video/tvp5150.c | 42 +-- linux/drivers/media/video/upd64031a.c | 13 - linux/drivers/media/video/upd64083.c | 11 linux/drivers/media/video/usbvision/usbvision-core.c | 5 linux/drivers/media/video/usbvision/usbvision-i2c.c | 9 linux/drivers/media/video/usbvision/usbvision-video.c | 6 linux/drivers/media/video/v4l2-common.c | 63 ++--- linux/drivers/media/video/v4l2-ioctl.c | 34 -- linux/drivers/media/video/vino.c | 43 +-- linux/drivers/media/video/vp27smpx.c | 4 linux/drivers/media/video/vpx3220.c | 25 -- linux/drivers/media/video/w9968cf.c | 5 linux/drivers/media/video/w9968cf.h | 2 linux/drivers/media/video/wm8739.c | 2 linux/drivers/media/video/wm8775.c | 11 linux/drivers/media/video/zoran/zoran.h | 4 linux/drivers/media/video/zoran/zoran_card.c | 12 linux/drivers/media/video/zoran/zoran_device.c | 22 - linux/drivers/media/video/zoran/zoran_driver.c | 26 -- linux/include/media/msp3400.h | 4 linux/include/media/saa7146.h | 2 linux/include/media/tvaudio.h | 19 + linux/include/media/v4l2-common.h | 160 ++----------- linux/include/media/v4l2-i2c-drv.h | 30 -- linux/include/media/v4l2-subdev.h | 149 +++++++++--- v4l2-apps/util/cx18-ctl.c | 51 ---- v4l2-apps/util/ivtv-ctl.c | 47 --- 118 files changed, 993 insertions(+), 1611 deletions(-) -- Hans Verkuil - video4linux developer - sponsored by TANDBERG -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html