23 #include "pedigree/kernel/Spinlock.h" 24 #include "pedigree/kernel/compiler.h" 25 #include "pedigree/kernel/machine/IrqHandler.h" 26 #include "pedigree/kernel/machine/Network.h" 27 #include "pedigree/kernel/machine/types.h" 28 #include "pedigree/kernel/process/Semaphore.h" 29 #include "pedigree/kernel/processor/state_forward.h" 30 #include "pedigree/kernel/processor/types.h" 31 #include "pedigree/kernel/utilities/List.h" 32 #include "pedigree/kernel/utilities/String.h" 33 #include "pedigree/kernel/utilities/new" 37 #define NE2K_VENDOR_ID 0x10ec 38 #define NE2K_DEVICE_ID 0x8029 52 virtual bool send(
size_t nBytes, uintptr_t buffer);
59 virtual bool irq(irq_id_t number, InterruptState &state);
68 static int trampoline(
void *p)
NORETURN;
85 void operator=(
const Ne2k &);
Abstrace base class for hardware I/O capabilities.
virtual const StationInfo & getStationInfo()
virtual bool setStationInfo(const StationInfo &info)
virtual void getName(String &str)
virtual bool irq(irq_id_t number, InterruptState &state)
virtual bool send(size_t nBytes, uintptr_t buffer)