diff options
author | Liav A <liavalb@gmail.com> | 2020-02-02 01:52:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-02 00:57:13 +0100 |
commit | 583e9ad372388a88a82474dff0fcb1f30a153d21 (patch) | |
tree | 2a322e26330d4ec37029560d3cf88ca732047a9b /Kernel/Net/RTL8139NetworkAdapter.h | |
parent | 60715695b285f8d74711e925300d22346ca838d2 (diff) | |
download | serenity-583e9ad372388a88a82474dff0fcb1f30a153d21.zip |
Kernel: Detect devices when enumerating the PCI bus
Instead of making each driver to enumerate the PCI bus itself,
PCI::Initializer will call detect_devices() to do one enumeration
of the bus.
Diffstat (limited to 'Kernel/Net/RTL8139NetworkAdapter.h')
-rw-r--r-- | Kernel/Net/RTL8139NetworkAdapter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/RTL8139NetworkAdapter.h b/Kernel/Net/RTL8139NetworkAdapter.h index 31403c7d25..0f05512dfa 100644 --- a/Kernel/Net/RTL8139NetworkAdapter.h +++ b/Kernel/Net/RTL8139NetworkAdapter.h @@ -36,7 +36,7 @@ class RTL8139NetworkAdapter final : public NetworkAdapter , public IRQHandler { public: - static OwnPtr<RTL8139NetworkAdapter> autodetect(); + static void detect(const PCI::Address&); RTL8139NetworkAdapter(PCI::Address, u8 irq); virtual ~RTL8139NetworkAdapter() override; |