Subversion Repositories shark

Rev

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

Rev Author Line No. Line
461 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 pci_direct_init(void);
24
extern int pcibios_init(void);
537 giacomo 25
extern int pcibios_irq_init(void);
461 giacomo 26
extern int pci_driver_init(void);
27
extern int pci_legacy_init(void);
28
extern int pci_init(void);
29
 
30
/* Init the Linux PCI 2.6 Driver */
31
int PCI26_init() {
32
 
33
  pci_direct_init();
34
 
35
  pcibios_init();
537 giacomo 36
 
37
  pcibios_irq_init();
461 giacomo 38
 
39
  pci_driver_init();
40
 
41
  pci_legacy_init();
42
 
43
  pci_init();
44
 
45
  return 0;
46
 
47
}