Subversion Repositories shark

Rev

Rev 602 | Rev 618 | Go to most recent revision | Details | Compare with Previous | 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
 
605 giacomo 33
extern int videodev_init(void);
34
 
602 giacomo 35
int BTTV26_init() {
36
 
37
        if (bttv_installed == TRUE)
38
                return 0;
39
 
605 giacomo 40
        videodev_init();
41
 
602 giacomo 42
        bttv_init_module();
43
 
44
        bttv_installed = TRUE;
45
 
46
        return 0;
47
 
48
}