Chameleon

Chameleon Svn Source Tree

Root/branches/meklortOld/i386/libsaio/pci_setup.c

Source at commit 1419 created 12 years 9 months ago.
By azimutz, Core pkg changes: ditch /usr/sbin and install fdisk440 and bdmesg to /usr/local/bin. Besides being easier to find on local/bin, there are advantages on installing "some" files here instead of sbin, not the case with these two.
1#include "libsaio.h"
2#include "boot.h"
3#include "bootstruct.h"
4#include "pci.h"
5#include "modules.h"
6
7void setup_pci_devs(pci_dt_t *pci_dt)
8{
9pci_dt_t *current = pci_dt;
10
11
12while (current)
13{
14execute_hook("PCIDevice", current, NULL, NULL, NULL);
15
16setup_pci_devs(current->children);
17current = current->next;
18}
19}
20

Archive Download this file

Revision: 1419