#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/videodev2.h>
#include <linux/slab.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-device.h>
#include <media/v4l2-fh.h>
#include <media/v4l2-ctrls.h>
#include <media/v4l2-event.h>
#include <linux/parport.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Jakob Kemi <[email protected]>") |
|
| MODULE_DESCRIPTION ("Winbond w9966cf WebCam driver (0.32)") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION ("0.33.1") |
|
| module_param_array (pardev, charp, NULL, 0) |
|
| MODULE_PARM_DESC (pardev,"pardev: where to search for\n""\teach camera. 'aggressive' means brute-force search.\n""\tEg: >pardev=parport3,aggressive,parport2,parport1< would assign\n""\tcam 1 to parport3 and search every parport for cam 2 etc...") |
|
| module_param (parmode, int, 0) |
|
| MODULE_PARM_DESC (parmode,"parmode: transfer mode (0=auto, 1=ecp, 2=epp") |
|
| module_param (video_nr, int, 0) |
|
| module_init (w9966_mod_init) |
|
| module_exit (w9966_mod_term) |
|
#define W9966_DRIVERNAME "W9966CF Webcam" |
#define W9966_I2C_R_CLOCK 0x04 |
#define W9966_I2C_R_DATA 0x08 |
#define W9966_I2C_R_ID 0x49 |
#define W9966_I2C_W_CLOCK 0x01 |
#define W9966_I2C_W_DATA 0x02 |
#define W9966_I2C_W_ID 0x48 |
#define W9966_MAXCAMS 4 /* Maximum number of cameras */ |
#define W9966_SRAMID 0x02 /* check w9966cf.pdf */ |
#define W9966_SRAMSIZE 131072 /* 128kb */ |
#define W9966_STATE_CLAIMED 0x02 |
#define W9966_STATE_PDEV 0x01 |
#define W9966_STATE_VDEV 0x04 |
#define W9966_WND_MAX_X 705 |
#define W9966_WND_MAX_Y 253 |
#define W9966_WND_MIN_X 16 |
#define W9966_WND_MIN_Y 14 |
MODULE_DESCRIPTION |
( |
"Winbond w9966cf WebCam driver (0.32)" |
| ) |
|
module_exit |
( |
w9966_mod_term |
| ) |
|
module_init |
( |
w9966_mod_init |
| ) |
|
module_param |
( |
parmode |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
pardev |
, |
|
|
charp |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
pardev |
, |
|
|
"pardev: where to search for\n""\teach camera. 'aggressive' means brute-force search.\n""\tEg: |
, |
|
|
pardev |
= parport3 , |
|
|
aggressive |
, |
|
|
parport2 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
parmode |
| ) |
|
MODULE_VERSION |
( |
"0.33.1" |
| ) |
|