mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
Kernel: Start adding support for E1000 network adapters.
This commit is contained in:
parent
0c806bfa25
commit
405413c354
12 changed files with 271 additions and 3 deletions
|
@ -95,6 +95,7 @@ void enumerate_bus(int type, byte bus, Function<void(Address, ID)>& callback)
|
|||
enumerate_slot(type, bus, slot, callback);
|
||||
}
|
||||
|
||||
byte get_interrupt_line(Address address) { return read_field<byte>(address, PCI_INTERRUPT_LINE); }
|
||||
dword get_BAR0(Address address) { return read_field<dword>(address, PCI_BAR0); }
|
||||
dword get_BAR1(Address address) { return read_field<dword>(address, PCI_BAR1); }
|
||||
dword get_BAR2(Address address) { return read_field<dword>(address, PCI_BAR2); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue