pci_probe.c revision d65680efa46fa49e8bf14e67b29b782510ff934c
#ifdef CONFIG_PCI
/*
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2, or (at
* your option) any later version.
*/
/*
* Sun GPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Sun elects to use only
* the General Public License version 2 (GPLv2) at this time for any software where
* a choice of GPL license versions is made available with the language indicating
* that GPLv2 or any later version may be used, or where a choice of which version
* of the GPL is applied is otherwise unspecified.
*/
#include "etherboot.h"
#include "nic.h"
#include "pci.h"
void pci_enumerate(void)
{
const struct pci_driver *driver;
}
}
{
/*
* NIC probing is in pci device order, followed by the
* link order of the drivers. A driver that matches
* on vendor and device id will supersede a driver
* that matches on pci class.
*
* If you want to probe for another device behind the same pci
* device just increment index. And the previous probe call
* will be repeated.
*/
#ifndef VBOX
#endif /* !VBOX */
}
for(;;) {
}
break;
dev->type_index++;
}
/* FIXME how do I handle dev->index + PROBE_AGAIN?? */
#ifndef VBOX
#endif /* !VBOX */
return PROBE_WORKED;
}
putchar('\n');
}
return PROBE_FAILED;
}
#endif