21 #include "modules/Module.h" 22 #include "pedigree/kernel/Log.h" 23 #include "pedigree/kernel/machine/Device.h" 24 #include "pedigree/kernel/utilities/new" 28 static bool bFound =
false;
30 static void probeDevice(
Device *pDev)
35 Ne2k *pNe2k =
new Ne2k(reinterpret_cast<Network *>(pDev));
46 Device::searchByVendorIdAndDeviceId(
47 NE2K_VENDOR_ID, NE2K_DEVICE_ID, probeDevice);
59 MODULE_DEPENDS(
"network-stack");
void replaceChild(Device *src, Device *dest)
void setParent(Device *p)
Device * getParent() const