Kadıköy, İstanbul
t@bt:/rofs/usr/src/linux-source-3.2.6/drivers/media/video# more hexium_gemini.c /* hexium_gemini.c - v4l2 driver for Hexium Gemini frame grabber cards Visit http://www.mihu.de/linux/saa7146/ and follow the link to "hexium" for further details about this card. Copyright (C) 2003 Michael Hunold <michael@mihu.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define DEBUG_VARIABLE debug #include <media/saa7146_vv.h>
#include <linux/module.h> static int debug;
module_param(debug, int, 0);
MODULE_PARM_DESC(debug, "debug verbosity"); /* global variables */
static int hexium_num; #define HEXIUM_GEMINI 4
#define HEXIUM_GEMINI_DUAL 5 #define HEXIUM_INPUTS 9
static struct v4l2_input he