Commit bc4ed42f authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab
Browse files

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

parent dd827da1
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ mantis-objs = mantis_core.o \
		mantis_pci.o	\
		mantis_i2c.o	\
		mantis_dvb.o	\
		mantis_pcmcia.o	\
		mantis_vp1033.o	\
		mantis_vp1034.o	\
		mantis_vp1041.o	\
+4 −0
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;

+34 −0
Original line number Diff line number Diff line
/*
	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;

}