/branches/dd/uspace/srv/pci/main.c |
---|
0,0 → 1,19 |
#include <stdio.h> |
#include <stdlib.h> |
#include "pci.h" |
#include "pci_bus.h" |
int main(int argc, char **argv) |
{ |
printf("PCI bus driver\n"); |
if (!pci_bus_init()) { |
printf("PCI bus initialization failed.\n"); |
return 1; |
} |
// TODO: write driver of some device and initialize it here |
return 0; |
} |