diff options
author | Liav A <liavalb@gmail.com> | 2021-09-23 10:20:54 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-29 11:24:33 +0200 |
commit | 057f5a12c2c69b1bad1d8b778d3cb934b3a8f346 (patch) | |
tree | e982c24df38e71e0d1c7dc0745c8ceec99c926cd /Kernel/Net/NetworkingManagement.h | |
parent | da327746a2702bd40ae6fa79017850ed357f5c1f (diff) | |
download | serenity-057f5a12c2c69b1bad1d8b778d3cb934b3a8f346.zip |
Kernel/PCI: Propagate usage of DeviceIdentifier everywhere
This allows us to remove a bunch of PCI API functions, and instead to
leverage the cached data from DeviceIdentifier object in many places.
Diffstat (limited to 'Kernel/Net/NetworkingManagement.h')
-rw-r--r-- | Kernel/Net/NetworkingManagement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/NetworkingManagement.h b/Kernel/Net/NetworkingManagement.h index 6669d54a2a..cab54711ca 100644 --- a/Kernel/Net/NetworkingManagement.h +++ b/Kernel/Net/NetworkingManagement.h @@ -36,7 +36,7 @@ public: NonnullRefPtr<NetworkAdapter> loopback_adapter() const; private: - RefPtr<NetworkAdapter> determine_network_device(PCI::Address address) const; + RefPtr<NetworkAdapter> determine_network_device(PCI::DeviceIdentifier const&) const; NonnullRefPtrVector<NetworkAdapter> m_adapters; RefPtr<NetworkAdapter> m_loopback_adapter; |