1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:17:44 +00:00

Kernel: Fixing E1000 MMIO access

Now E1000 driver no longer use identity-mapping to do IO operations.
Also, print messages were fixed, and debug messages were added for IO
methods.
This commit is contained in:
Liav A 2020-01-09 23:34:26 +02:00 committed by Andreas Kling
parent a9884fbbe5
commit 918097ae94
2 changed files with 27 additions and 10 deletions

View file

@ -62,7 +62,8 @@ private:
PCI::Address m_pci_address;
u16 m_io_base { 0 };
PhysicalAddress m_mmio_base;
VirtualAddress m_mmio_base;
OwnPtr<Region> m_mmio_region;
u8 m_interrupt_line { 0 };
bool m_has_eeprom { false };
bool m_use_mmio { false };