diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-04 03:04:18 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 08:55:33 -0500 |
commit | d575571e8eda92c2cfd727ef050d17e30878fee6 (patch) | |
tree | 1532db193f554f8ca8355b80e0bc13bcc57c309e /drivers/media/dvb/mantis | |
parent | bc4ed42fdf762a2049b255de92626ad1cfd86d8e (diff) |
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>
Diffstat (limited to 'drivers/media/dvb/mantis')
-rw-r--r-- | drivers/media/dvb/mantis/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/dvb/mantis/mantis_common.h | 2 | ||||
-rw-r--r-- | drivers/media/dvb/mantis/mantis_evm.c | 37 |
3 files changed, 40 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/Makefile b/drivers/media/dvb/mantis/Makefile index fa9e806400e0..38d0e6dbafe3 100644 --- a/drivers/media/dvb/mantis/Makefile +++ b/drivers/media/dvb/mantis/Makefile | |||
@@ -3,6 +3,7 @@ mantis-objs = mantis_core.o \ | |||
3 | mantis_pci.o \ | 3 | mantis_pci.o \ |
4 | mantis_i2c.o \ | 4 | mantis_i2c.o \ |
5 | mantis_dvb.o \ | 5 | mantis_dvb.o \ |
6 | mantis_evm.o \ | ||
6 | mantis_pcmcia.o \ | 7 | mantis_pcmcia.o \ |
7 | mantis_vp1033.o \ | 8 | mantis_vp1033.o \ |
8 | mantis_vp1034.o \ | 9 | mantis_vp1034.o \ |
diff --git a/drivers/media/dvb/mantis/mantis_common.h b/drivers/media/dvb/mantis/mantis_common.h index 24fc6da07fe2..f9891ebcfb0d 100644 --- a/drivers/media/dvb/mantis/mantis_common.h +++ b/drivers/media/dvb/mantis/mantis_common.h | |||
@@ -77,6 +77,8 @@ struct mantis_hwconfig { | |||
77 | }; | 77 | }; |
78 | 78 | ||
79 | struct mantis_pci { | 79 | struct mantis_pci { |
80 | unsigned int verbose; | ||
81 | |||
80 | /* PCI stuff */ | 82 | /* PCI stuff */ |
81 | u16 vendor_id; | 83 | u16 vendor_id; |
82 | u16 device_id; | 84 | u16 device_id; |
diff --git a/drivers/media/dvb/mantis/mantis_evm.c b/drivers/media/dvb/mantis/mantis_evm.c new file mode 100644 index 000000000000..c9359d6ddc23 --- /dev/null +++ b/drivers/media/dvb/mantis/mantis_evm.c | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | Mantis PCI bridge driver | ||
3 | |||
4 | Copyright (C) 2005, 2006 Manu Abraham (abraham.manu@gmail.com) | ||
5 | |||
6 | This program is free software; you can redistribute it and/or modify | ||
7 | it under the terms of the GNU General Public License as published by | ||
8 | the Free Software Foundation; either version 2 of the License, or | ||
9 | (at your option) any later version. | ||
10 | |||
11 | This program is distributed in the hope that it will be useful, | ||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | GNU General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU General Public License | ||
17 | along with this program; if not, write to the Free Software | ||
18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
19 | */ | ||
20 | |||
21 | #include "mantis_common.h" | ||
22 | #include "mantis_link.h" | ||
23 | |||
24 | int mantis_evmgr_init(struct mantis_ca *ca) | ||
25 | { | ||
26 | struct mantis_pci *mantis = ca->ca_priv; | ||
27 | |||
28 | dprintk(mantis->verbose, MANTIS_DEBUG, 1, "Initializing Mantis Host I/F Event manager"); | ||
29 | return 0; | ||
30 | } | ||
31 | |||
32 | void mantis_evmgr_exit(struct mantis_ca *ca) | ||
33 | { | ||
34 | struct mantis_pci *mantis = ca->ca_priv; | ||
35 | |||
36 | dprintk(mantis->verbose, MANTIS_DEBUG, 1, "Mantis Host I/F Event manager exiting"); | ||
37 | } | ||