Subversion Repositories shark

Rev

Rev 605 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
602 giacomo 1
/*
2
 * Project: S.Ha.R.K.
3
 *
4
 * Coordinators:
5
 *   Giorgio Buttazzo    <giorgio@sssup.it>
6
 *   Paolo Gai           <pj@gandalf.sssup.it>
7
 *
8
 * Authors     :
9
 *   Giacomo Guidi       <giacomo@gandalf.sssup.it>
10
 *
11
 *
12
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
13
 *
14
 * http://www.sssup.it
15
 * http://retis.sssup.it
16
 * http://shark.sssup.it
17
 */
18
 
19
/* Glue Layer for Linux PCI 2.6 Driver */
20
 
21
#include <kernel/kern.h>
22
 
23
extern int bttv_init_module(void);
24
 
25
static int bttv_installed = FALSE;
26
 
27
/* Init the Linux BTTV 2.6 Driver */
28
int BTTV26_installed(void)
29
{
30
        return bttv_installed;
31
}
32
 
33
int BTTV26_init() {
34
 
35
        if (bttv_installed == TRUE)
36
                return 0;
37
 
38
        bttv_init_module();
39
 
40
        bttv_installed = TRUE;
41
 
42
        return 0;
43
 
44
}