mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:27:34 +00:00
Kernel: More work on Ethernet support.
This commit is contained in:
parent
97664fad60
commit
1678ac69ef
8 changed files with 62 additions and 9 deletions
|
@ -15,7 +15,7 @@ public:
|
|||
E1000NetworkAdapter(PCI::Address, byte irq);
|
||||
virtual ~E1000NetworkAdapter() override;
|
||||
|
||||
virtual void send(const byte*, int) override;
|
||||
virtual void send_raw(const byte*, int) override;
|
||||
|
||||
private:
|
||||
virtual void handle_irq() override;
|
||||
|
@ -57,6 +57,8 @@ private:
|
|||
word in16(word address);
|
||||
dword in32(word address);
|
||||
|
||||
void receive();
|
||||
|
||||
PCI::Address m_pci_address;
|
||||
word m_io_base { 0 };
|
||||
PhysicalAddress m_mmio_base;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue