SUMMARY: The driver works under 2.6.0-test kernels now (2.5 is no longer supported, but 2.4 still is). Also, some trivial bugs are fixed. PER-FILE CHANGES: (+: New, -: Removed, *: Cleanup, @: Bugfix, =: Sync with kernel) [compat.h] = Adapt to 2.6 i2c device model changes. = Add 2.4 wrappers for new 2.6 video device management functions. [do_install.sh] [Makefile] [README] = Convert from 2.5 to 2.6 kernel support. [get_cflags.sh] + Handle Fedora Core 1 remap_page_range() changes (same as RedHat 9). [id.h] = Use official assignment of I2C_HW_SMBUS_W9968CF [Both USB drivers] @ Explicitly undef CONFIG_VIDEO_PROC_FS on 2.6 kernels. The necessary functions aren't defined, but the option still exists in the config system somewhere. + Add sysfs support, and a few property files. @ Delay setting of final I2C adapter name until end of probe(). ov->vdev->minor is needed for that, so it can't happen earlier. = Use video_get_drvdata() and other new 2.6 helper functions. = Switch to dynamic allocation of struct video_device. This is required under 2.6 due to kobject lifetime rules, but works fine under 2.4 too. = Use new i2c_clients_command() helper function under 2.6. * Simplify video device registration logic. = Attach private data to interface struct instead of device struct under 2.6. [ov511_core.c] + Make clockdiv a per-device setting, and set it to 2 for SecureCam. @ Don't scan unit_video array if we already got a device using device_hint [ov511.h] = Make usb_ov511->vdev a pointer, so we can dynamically allocate it. + Per-device clockdiv. [All camchip drivers] [ovcamchip_core.c] * Switch to including ovcamchip_priv.h. That header includes ovcamchip.h, so we get everything we had before. [ovcamchip.h] [ovcamchip_priv.h] * Split ovcamchip.h into two headers. Public interfaces for the USB drivers go in ovcamchip.h, and everything else goes in ovcamchip_priv.h. + Add trademark disclaimer. [ovfx2.h] = Make usb_ov511->vdev a pointer, so we can dynamically allocate it.