mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
Kernel: Use IOAddress class in Network adapters' drivers
Also, kprintf() calls were replaced with klog() calls.
This commit is contained in:
parent
7d39e380f9
commit
15dfca4a79
4 changed files with 52 additions and 50 deletions
|
@ -29,6 +29,7 @@
|
|||
#include <AK/OwnPtr.h>
|
||||
#include <Kernel/Interrupts/IRQHandler.h>
|
||||
#include <Kernel/Net/NetworkAdapter.h>
|
||||
#include <LibBareMetal/IO.h>
|
||||
#include <Kernel/PCI/Access.h>
|
||||
#include <Kernel/PCI/Device.h>
|
||||
|
||||
|
@ -89,7 +90,7 @@ private:
|
|||
|
||||
void receive();
|
||||
|
||||
u16 m_io_base { 0 };
|
||||
IOAddress m_io_base;
|
||||
VirtualAddress m_mmio_base;
|
||||
OwnPtr<Region> m_mmio_region;
|
||||
u8 m_interrupt_line { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue