summaryrefslogtreecommitdiff
path: root/Kernel/Net/NetworkingManagement.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-09-23 10:20:54 +0300
committerAndreas Kling <kling@serenityos.org>2021-09-29 11:24:33 +0200
commit057f5a12c2c69b1bad1d8b778d3cb934b3a8f346 (patch)
treee982c24df38e71e0d1c7dc0745c8ceec99c926cd /Kernel/Net/NetworkingManagement.h
parentda327746a2702bd40ae6fa79017850ed357f5c1f (diff)
downloadserenity-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.h2
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;