Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 601 → Rev 602

/shark/trunk/drivers/bttv/shark_bttv26.c
0,0 → 1,44
/*
* Project: S.Ha.R.K.
*
* Coordinators:
* Giorgio Buttazzo <giorgio@sssup.it>
* Paolo Gai <pj@gandalf.sssup.it>
*
* Authors :
* Giacomo Guidi <giacomo@gandalf.sssup.it>
*
*
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
*
* http://www.sssup.it
* http://retis.sssup.it
* http://shark.sssup.it
*/
 
/* Glue Layer for Linux PCI 2.6 Driver */
#include <kernel/kern.h>
 
extern int bttv_init_module(void);
 
static int bttv_installed = FALSE;
 
/* Init the Linux BTTV 2.6 Driver */
int BTTV26_installed(void)
{
return bttv_installed;
}
 
int BTTV26_init() {
 
if (bttv_installed == TRUE)
return 0;
 
bttv_init_module();
 
bttv_installed = TRUE;
 
return 0;
 
}
/shark/trunk/drivers/bttv/include/drivers/shark_bttv26.h
0,0 → 1,28
/*
* Project: S.Ha.R.K.
*
* Coordinators:
* Giorgio Buttazzo <giorgio@sssup.it>
* Paolo Gai <pj@gandalf.sssup.it>
*
* Authors :
* Giacomo Guidi <giacomo@gandalf.sssup.it>
*
*
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
*
* http://www.sssup.it
* http://retis.sssup.it
* http://shark.sssup.it
*/
 
/* Glue Layer Header Linux BTTV 2.6 Driver*/
 
#ifndef __SHARK_BTTV26__
#define __SHARK_BTTV26__
 
/* Init the BTTV 2.6 Driver */
int BTTV26_init(void);
 
#endif
 
/shark/trunk/drivers/bttv/makefile
10,7 → 10,7
 
OBJS_PATH = $(BASE)/drivers/bttv
 
OBJS = bttv-if.o btcx-risc.o bttv-cards.o bttv-driver.o bttv-risc.o fg.o
OBJS = bttv-if.o btcx-risc.o bttv-cards.o bttv-driver.o bttv-risc.o fg.o shark_bttv26.o
 
OTHERINCL += -I$(BASE)/drivers/bttv/include -I$(BASE)/drivers/linuxc26/include -I.