diff options
author | Liav A <liavalb@gmail.com> | 2021-08-21 06:58:43 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-23 01:07:45 +0200 |
commit | aacb1f0bf4c82569c7896930436f3bbd216fed67 (patch) | |
tree | 1d87e46b3e7060e4a1d8444fbe26853884f33451 /Kernel/Net/RTL8139NetworkAdapter.h | |
parent | 7b9c3439ec1d4d0c2122897fdfeb72fe52814d7a (diff) | |
download | serenity-aacb1f0bf4c82569c7896930436f3bbd216fed67.zip |
Kernel: Rename PCI::DeviceController => PCI::Device
Now that the old PCI::Device was removed, we can complete the PCI
changes by making the PCI::DeviceController to be named PCI::Device.
Really the entire purpose and the distinction between the two was about
interrupts, but since this is no longer a problem, just rename it to
simplify things further.
Diffstat (limited to 'Kernel/Net/RTL8139NetworkAdapter.h')
-rw-r--r-- | Kernel/Net/RTL8139NetworkAdapter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Net/RTL8139NetworkAdapter.h b/Kernel/Net/RTL8139NetworkAdapter.h index f04c76dfe5..397cf29d68 100644 --- a/Kernel/Net/RTL8139NetworkAdapter.h +++ b/Kernel/Net/RTL8139NetworkAdapter.h @@ -8,7 +8,7 @@ #include <AK/OwnPtr.h> #include <Kernel/Bus/PCI/Access.h> -#include <Kernel/Bus/PCI/DeviceController.h> +#include <Kernel/Bus/PCI/Device.h> #include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Net/NetworkAdapter.h> @@ -19,7 +19,7 @@ namespace Kernel { #define RTL8139_TX_BUFFER_COUNT 4 class RTL8139NetworkAdapter final : public NetworkAdapter - , public PCI::DeviceController + , public PCI::Device , public IRQHandler { public: static RefPtr<RTL8139NetworkAdapter> try_to_initialize(PCI::Address); |