Subversion Repositories HelenOS

Rev

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

Rev Author Line No. Line
4399 trochtova 1
#include <stdio.h>
2
#include <stdlib.h>
3
 
4
#include "pci.h"
5
#include "pci_bus.h"
6
 
7
int main(int argc, char **argv)
8
{
9
    printf("PCI bus driver\n");
10
 
11
    if (!pci_bus_init()) {
12
        printf("PCI bus initialization failed.\n");
13
        return 1;
14
    }
15
 
16
    // TODO: write driver of some device and initialize it here 
17
 
18
    return 0;
19
}