[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 4294] - Módulo ov511 do kernel com defeito
http://bugzilla.conectiva.com.br/show_bug.cgi?id=4294
------- Additional Comments From carlos_arroyo@uol.com.br 2001-09-04 01:59 -------
Abaixo estão as primeiras linhas do arquivo:
/usr/src/linux-2.4.5/drivers/usb/ov511.c
Se você tem a fonte do kernel 2.4.5 você pode encontar esse arquivo completo.
Aqui coloquei apenas as primeiras linhas para mostrar o que eu fiz para corrigir
o meu problema em particular. Minha correção está logo abaixo da linha:
/* Hacked by Carlos <chaplin40@yahoo.com.br> */
---- Início ------
/*
* OmniVision OV511 Camera-to-USB Bridge Driver
*
* Copyright (c) 1999-2000 Mark W. McClelland
* Many improvements by Bret Wallach <bwallac1@san.rr.com>
* Color fixes by by Orion Sky Lawlor <olawlor@acm.org> (2/26/2000)
* Snapshot code by Kevin Moore
* OV7620 fixes by Charl P. Botha <cpbotha@ieee.org>
* Changes by Claudio Matsuoka <claudio@conectiva.com>
*
* Based on the Linux CPiA driver written by Peter Pregler,
* Scott J. Bertin and Johannes Erdfelt.
*
* Please see the file: linux/Documentation/usb/ov511.txt
* and the website at: http://alpha.dyndns.org/ov511
* for more info.
*
* 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.
*/
/* Hacked by Carlos <chaplin40@yahoo.com.br> */
static const char version[] = "1.28";
#define __NO_VERSION__
#include <linux/config.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/proc_fs.h>
#include <linux/ctype.h>
#include <linux/pagemap.h>
#include <linux/usb.h>
#include <asm/io.h>
#include <asm/semaphore.h>
#include <linux/wrapper.h>
#include "ov511.h"
/*
* Version Information
*/
#define DRIVER_VERSION "v1.28"
#define DRIVER_AUTHOR "Mark McClelland <mwm@i.am> & Bret Wallach & Orion Sky
Lawlor <olawlor@acm.org> & Kevin Moore & Charl P. Botha <cpbotha@ieee.org> &
Claudio Matsuoka <claudio@conectiva.com>"
#define DRIVER_DESC "OV511 USB Camera Driver"
#define OV511_I2C_RETRIES 3
------ O arquivo original tem mais -------
-
Linux-mm-bugs: bugzilla list for the Linux-MM subsystem
Archive: http://mail.nl.linux.org/linux-mm-bugs/
Web site: http://linux-mm.org/
Development: linux-mm@kvack.org