21 #include "modules/Module.h" 22 #include "pedigree/kernel/Log.h" 23 #include "pedigree/kernel/machine/Device.h" 24 #include "pedigree/kernel/machine/Network.h" 25 #include "pedigree/kernel/processor/Processor.h" 26 #include "pedigree/kernel/processor/types.h" 28 void probeDevice(
Device *pDev)
33 Rtl8139 *pRtl8139 =
new Rtl8139(reinterpret_cast<Network *>(pDev));
43 Device::searchByVendorIdAndDeviceId(
44 RTL8139_VENDOR_ID, RTL8139_DEVICE_ID, probeDevice);
51 MODULE_INFO(
"rtl8139", &entry, &exit,
"network-stack");
void replaceChild(Device *src, Device *dest)
void setParent(Device *p)
Device * getParent() const