Mauro: Please pull from http://linuxtv.org/hg/~mcisely/pvrusb2 for a large collection of pvrusb2 changesets (see below). Way back around November 2005, I had written a large chunk of code in the driver to provide uniform control of the associated i2c modules. With the advent of the v4l2-subdev framework within V4L, that old i2c layer in the pvrusb2 driver has become obsolete. The vast majority of these changes transform the pvrusb2 driver such that it now uses the v4l2-subdev framework, replacing the old i2c module control layer. In the end, the pvrusb2 driver is somewhat simpler now. I recommend that this whole things find its way into the 2.6.30 kernel merge window. Note: This will not be checkpatch.pl "clean". Though I have taken great care to abide by the questionable space-after-comma silliness (and boy did that suck - it's not AT ALL easy to change a 21 year habit), other warnings will still be present. The high-runner will be things related to single-line or compound if-statements. We've had that discussion before and I anticipate not to have to repeat it again. I don't remember any other warnings of any real consequence. Oh one thing, part of this series involved an early changeset that moves a large chunk of old code to a new file. That changeset will be rife with checkpatch.pl complaints, but it's code that is otherwise unchanged and I'm not about to sanitize it all purely for the sake of that script. (Besides, most if not all of that old code goes away in a later changeset anyway.) -Mike - pvrusb2: Split i2c module handling from i2c adapter - pvrusb2: Set up v4l2_device instance - pvrusb2: Changes to further isolate old i2c layer - pvrusb2: whitespace trivial tweaks - pvrusb2: New device attribute mechanism to specify sub-devices - pvrusb2: Providing means to stop tracking an old i2c module - pvrusb2: whitespace tweaks - pvrusb2: Set i2c autoprobing to be off by default - pvrusb2: Tie up loose ends with v4l2-subdev setup - pvrusb2: Lay foundation for triggering sub-device updates - pvrusb2: Tie-in sub-device log requests - pvrusb2: Tie in debug register access to sub-devices - pvrusb2: Implement status fetching from sub-devices - pvrusb2: Tie in various v4l2 operations into the sub-device mechanism - pvrusb2: Define value for a null sub-device ID - pvrusb2: Note who our video decoder sub-device is, and set it up - pvrusb2: Clean-up / placeholders inserted for additional development - pvrusb2: Tie in sub-device decoder start/stop - pvrusb2: Cause overall initialization to fail if sub-driver(s) fail - pvrusb2: Fix backwards function header comments - pvrusb2: Implement reporting of connected sub-devices - pvrusb2: Implement sub-device specific update framework - pvrusb2: Tie in wm8775 sub-device handling - pvrusb2: Tie in saa7115 sub-device handling - pvrusb2: Make audio sample rate update into a sub-device broadcast - pvrusb2: make sub-device specific update function names uniform - pvrusb2: Tie in msp3400 sub-device support - pvrusb2: Fix silly 80 column issue - pvrusb2: Tie in cx25840 sub-device support - pvrusb2: Implement more sub-device loading trace and improve error handling - pvrusb2: Define default i2c address for wm8775 sub-device - pvrusb2: Fix uninitialized counter - pvrusb2: Fix bugs involved in listing of sub-devices - pvrusb2: Allow sub-devices to insert correctly - pvrusb2: Sub-device update must happen BEFORE state dirty bits are cleared - pvrusb2: Deal with space-after-comma coding style idiocy - pvrusb2: Broadcast tuner type change to sub-devices - pvrusb2: Define default I2C address for cx25840 sub-device - pvrusb2: Implement trace print for stream on / off action - pvrusb2: Correct some trace print inaccuracies - pvrusb2: Implement mechanism to force a full sub-device update - pvrusb2: Issue required core init broadcast to all sub-devices - pvrusb2: Define default I2C addresses for msp3400 and saa7115 sub-devices - pvrusb2: Fix incorrectly named sub-device ID - pvrusb2: Define default I2C address for CS53L32A sub-device - pvrusb2: Convert all device definitions to use new sub-device declarations - pvrusb2: Make a bunch of dvb config structures const (trivial) - pvrusb2: Fix space-after-comma idiocy - pvrusb2: Fix slightly mis-leading header in debug interface output - pvrusb2: Implement better reporting on attached sub-devices - pvrusb2: Remove old i2c layer; we use v4l2-subdev now - pvrusb2: Remove ancient IVTV specific ioctl functions - pvrusb2: Add sub-device for demod - pvrusb2: Add composite and s-video input support for OnAir devices - pvrusb2: Use v4l2_device_disconnect() a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c | 119 - a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c | 339 ---- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.h | 53 a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-track.c | 504 ------ a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-track.h | 102 - a/linux/drivers/media/video/pvrusb2/pvrusb2-tuner.c | 122 - a/linux/drivers/media/video/pvrusb2/pvrusb2-tuner.h | 37 b/linux/drivers/media/video/pvrusb2/pvrusb2-cs53l32a.c | 96 + b/linux/drivers/media/video/pvrusb2/pvrusb2-cs53l32a.h | 48 b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-track.c | 481 ++++++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-track.h | 97 + linux/drivers/media/video/pvrusb2/Makefile | 8 linux/drivers/media/video/pvrusb2/pvrusb2-audio.c | 178 -- linux/drivers/media/video/pvrusb2/pvrusb2-audio.h | 8 linux/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | 279 --- linux/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.h | 12 linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.c | 9 linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.h | 12 linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c | 102 - linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h | 36 linux/drivers/media/video/pvrusb2/pvrusb2-dvb.c | 2 linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 38 linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 866 ++++++++--- linux/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c | 4 linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c | 4 linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.h | 4 linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 425 ----- linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.h | 57 linux/drivers/media/video/pvrusb2/pvrusb2-i2c-track.c | 87 - linux/drivers/media/video/pvrusb2/pvrusb2-i2c-track.h | 5 linux/drivers/media/video/pvrusb2/pvrusb2-tuner.c | 1 linux/drivers/media/video/pvrusb2/pvrusb2-tuner.h | 2 linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 4 linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c | 284 --- linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.h | 9 linux/drivers/media/video/pvrusb2/pvrusb2-wm8775.c | 154 - linux/drivers/media/video/pvrusb2/pvrusb2-wm8775.h | 10 37 files changed, 1749 insertions(+), 2849 deletions(-) -- Mike Isely isely @ pobox (dot) com PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8 -- 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