summaryrefslogtreecommitdiff
path: root/include/linux/videodev.h
diff options
context:
space:
mode:
authorLuca Risolia <luca.risolia@studio.unibo.it>2004-07-14 01:01:10 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2004-07-14 01:01:10 -0700
commitbe3a4fefdc80b617af91ab156160c3ef4308d284 (patch)
treec398f770b063b934c44c6b23a757b5391c779db0 /include/linux/videodev.h
parent755095707e4da46026fbefb2007281d4d73ef668 (diff)
[PATCH] Updates for W99[87]CF and new SN9C10[12] driver
This single patch contains some updates and cleanups for the W996[87]CF driver and a new experimental V4L2 driver for SONiX SN9C10[12] PC Camera Controllers connected to various image sensors. I have not divided the patch in two logical sub-patches becouse of two independent changes in one common file, KConfigure. More informations about the SN9C10[12] can be found below in the documentation. The driver is marked as "EXPERIMENTAL", meaning that there are no known bugs, but further testing is necessary before considering it stable. This the first driver using the new SBGGR8 video format, which has been recently added to the mainline kernel, so there are no available user application at the moment: this is one more reason why it should be in the kernel now. Changes in W996[87]CF: - remove w9968cf_externaldef.h now that ovcamchip.h is in the kernel; - mark user pointers with __user in a cleaner way to avoid sparse warnings; - use appropriate exclusive wait macro during open(); - replace info(), err(), warn() with dev_info(), dev_err(), dev_warn(), pr_debug(), pr_info(); - replace usb_unlink_urb() + wait_for_completion() with usb_kill_urb(); - fix memory offsets for buffers in the chip to be used with generic image sensors; - 'vppmod_load', 'debug', 'specific_debug' and 'simcams' module parameters are now writeable by default; - fix possible race conditions between disconnect() and open(); - add automatic 'ovcamchip' module loading option with 'ovmod_load' module parameter; - get rid of deprecated intermodule communication routines and use the correct module registration/unregistration approach; - remove period at the end of kernel messages; - fix several typos; - use MODULE_VERSION() macro; - other small internal cleanups; - documentation updates. Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'include/linux/videodev.h')
-rw-r--r--include/linux/videodev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/videodev.h b/include/linux/videodev.h
index cfcf6f1cd0e2..7ace008e1504 100644
--- a/include/linux/videodev.h
+++ b/include/linux/videodev.h
@@ -429,8 +429,9 @@ struct video_code
#define VID_HARDWARE_CPIA2 33
#define VID_HARDWARE_VICAM 34
#define VID_HARDWARE_SF16FMR2 35
-#define VID_HARDWARE_W9968CF 36
+#define VID_HARDWARE_W9968CF 36
#define VID_HARDWARE_SAA7114H 37
+#define VID_HARDWARE_SN9C102 38
#endif /* __LINUX_VIDEODEV_H */
/*