V4L/DVB (13734): [Mantis] Initial go at an Event Manager

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Manu Abraham 2009-12-04 05:04:18 -03:00 committed by Mauro Carvalho Chehab
parent bc4ed42fdf
commit d575571e8e
3 changed files with 40 additions and 0 deletions

View File

@ -3,6 +3,7 @@ mantis-objs = mantis_core.o \
mantis_pci.o \ mantis_pci.o \
mantis_i2c.o \ mantis_i2c.o \
mantis_dvb.o \ mantis_dvb.o \
mantis_evm.o \
mantis_pcmcia.o \ mantis_pcmcia.o \
mantis_vp1033.o \ mantis_vp1033.o \
mantis_vp1034.o \ mantis_vp1034.o \

View File

@ -77,6 +77,8 @@ struct mantis_hwconfig {
}; };
struct mantis_pci { struct mantis_pci {
unsigned int verbose;
/* PCI stuff */ /* PCI stuff */
u16 vendor_id; u16 vendor_id;
u16 device_id; u16 device_id;

View File

@ -0,0 +1,37 @@
/*
Mantis PCI bridge driver
Copyright (C) 2005, 2006 Manu Abraham (abraham.manu@gmail.com)
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.
*/
#include "mantis_common.h"
#include "mantis_link.h"
int mantis_evmgr_init(struct mantis_ca *ca)
{
struct mantis_pci *mantis = ca->ca_priv;
dprintk(mantis->verbose, MANTIS_DEBUG, 1, "Initializing Mantis Host I/F Event manager");
return 0;
}
void mantis_evmgr_exit(struct mantis_ca *ca)
{
struct mantis_pci *mantis = ca->ca_priv;
dprintk(mantis->verbose, MANTIS_DEBUG, 1, "Mantis Host I/F Event manager exiting");
}