V4L/DVB (13733): [Mantis] Start with the PCMCIA interface

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:03:35 -03:00 committed by Mauro Carvalho Chehab
parent dd827da1e7
commit bc4ed42fdf
4 changed files with 48 additions and 9 deletions

View File

@ -1,11 +1,12 @@
mantis-objs = mantis_core.o \
mantis_dma.o \
mantis_pci.o \
mantis_i2c.o \
mantis_dvb.o \
mantis_vp1033.o \
mantis_vp1034.o \
mantis_vp1041.o \
mantis-objs = mantis_core.o \
mantis_dma.o \
mantis_pci.o \
mantis_i2c.o \
mantis_dvb.o \
mantis_pcmcia.o \
mantis_vp1033.o \
mantis_vp1034.o \
mantis_vp1041.o \
mantis_vp2033.o \
mantis_vp2040.o \
mantis_vp3030.o

View File

@ -35,6 +35,8 @@
#include <linux/i2c.h>
#include "mantis_reg.h"
#include "mantis_link.h"
#define MANTIS_ERROR 0
#define MANTIS_NOTICE 1
#define MANTIS_INFO 2
@ -134,6 +136,8 @@ struct mantis_pci {
/* A12 A13 A14 */
int gpio_status;
struct mantis_ca *mantis_ca;
};
extern unsigned int verbose;

View File

@ -40,7 +40,7 @@ struct mantis_ca {
wait_queue_head_t hif_opdone_wq;
wait_queue_head_t hif_brrdyw_wq;
wait_queue_head_t hif_data_wq;
u32 hif_job_queue
u32 hif_job_queue;
enum mantis_sbuf_status sbuf_status;

View File

@ -0,0 +1,34 @@
/*
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"
int mantis_pcmcia_init(struct mantis_ca *ca)
{
struct mantis_pci *mantis = ca->ca_priv;
return 0;
}
void mantis_pcmcia_exit(struct mantis_ca *ca)
{
struct mantis_pci *mantis = ca->ca_priv;
}