提交 bc4ed42f 编写于 作者: M Manu Abraham 提交者: Mauro Carvalho Chehab

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

Signed-off-by: NManu Abraham <manu@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 dd827da1
mantis-objs = mantis_core.o \ mantis-objs = mantis_core.o \
mantis_dma.o \ mantis_dma.o \
mantis_pci.o \ mantis_pci.o \
mantis_i2c.o \ mantis_i2c.o \
mantis_dvb.o \ mantis_dvb.o \
mantis_vp1033.o \ mantis_pcmcia.o \
mantis_vp1034.o \ mantis_vp1033.o \
mantis_vp1041.o \ mantis_vp1034.o \
mantis_vp1041.o \
mantis_vp2033.o \ mantis_vp2033.o \
mantis_vp2040.o \ mantis_vp2040.o \
mantis_vp3030.o mantis_vp3030.o
......
...@@ -35,6 +35,8 @@ ...@@ -35,6 +35,8 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include "mantis_reg.h" #include "mantis_reg.h"
#include "mantis_link.h"
#define MANTIS_ERROR 0 #define MANTIS_ERROR 0
#define MANTIS_NOTICE 1 #define MANTIS_NOTICE 1
#define MANTIS_INFO 2 #define MANTIS_INFO 2
...@@ -134,6 +136,8 @@ struct mantis_pci { ...@@ -134,6 +136,8 @@ struct mantis_pci {
/* A12 A13 A14 */ /* A12 A13 A14 */
int gpio_status; int gpio_status;
struct mantis_ca *mantis_ca;
}; };
extern unsigned int verbose; extern unsigned int verbose;
......
...@@ -40,7 +40,7 @@ struct mantis_ca { ...@@ -40,7 +40,7 @@ struct mantis_ca {
wait_queue_head_t hif_opdone_wq; wait_queue_head_t hif_opdone_wq;
wait_queue_head_t hif_brrdyw_wq; wait_queue_head_t hif_brrdyw_wq;
wait_queue_head_t hif_data_wq; wait_queue_head_t hif_data_wq;
u32 hif_job_queue u32 hif_job_queue;
enum mantis_sbuf_status sbuf_status; enum mantis_sbuf_status sbuf_status;
......
/*
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;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册