2#include "pedigree/kernel/machine/Device.h"
3#include "pedigree/kernel/utilities/List.h"
4#include "pedigree/kernel/utilities/new"
7#include "modules/Module.h"
23 Device::searchByVendorIdAndDeviceId(0x1af4, 0x1041, collect);
24 Device::searchByVendorIdAndDeviceId(0x1af4, 0x1000, collect);
25 while (candidates.
count()) {
28 if (!card->initialise()) {
39 return cards.
count() != 0;
43 while (cards.
count()) {
47 card->getParent()->removeChild(card);
48 card->setParent(
nullptr);
55MODULE_INFO(
"virtio-net", &entry, &exit,
"virtio-pci",
"network-stack");
Device * getChild(size_t n)
void addChild(Device *pDevice)
virtual const String & getSpecificType()
void pushBack(const T &value)