Subversion Repositories shark

Rev

Rev 1346 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1316 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
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
9
 *
10
 * http://www.sssup.it
11
 * http://retis.sssup.it
12
 * http://shark.sssup.it
13
 */
14
 
15
/*
16
 * Copyright (C) 2000 Paolo Gai, Luca Abeni
17
 *
18
 * This program is free software; you can redistribute it and/or modify
19
 * it under the terms of the GNU General Public License as published by
20
 * the Free Software Foundation; either version 2 of the License, or
21
 * (at your option) any later version.
22
 *
23
 * This program is distributed in the hope that it will be useful,
24
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
 * GNU General Public License for more details.
27
 *
28
 * You should have received a copy of the GNU General Public License
29
 * along with this program; if not, write to the Free Software
30
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
31
 *
32
*/
33
 
34
#include "kernel/kern.h"
1325 giacomo 35
#include "drivers/shark_pci26.h"
1316 giacomo 36
 
1356 giacomo 37
extern int i2c_dev_init(void);
38
 
1316 giacomo 39
int main (int argc, char *argv[])
40
{
1330 giacomo 41
    unsigned long long i;
1323 giacomo 42
 
1325 giacomo 43
    PCI26_init();
1324 giacomo 44
 
1356 giacomo 45
    i2c_init();
46
    i2c_dev_init();
47
 
48
    bttv_init_module();
49
 
50
    cprintf("Init Done...\n");
51
 
1346 giacomo 52
    for (i=0;i<10000000000;i++);
1326 giacomo 53
 
1346 giacomo 54
    sys_end();
1327 giacomo 55
 
1316 giacomo 56
    return 0;
1323 giacomo 57
 
1316 giacomo 58
}