diff options
author | Liav A <liavalb@gmail.com> | 2020-02-22 23:56:00 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-24 11:27:03 +0100 |
commit | a7d7c0e60c7cfebbcbd20edf8df3f6897e125bf7 (patch) | |
tree | 80ccfa861c38b5b6a19e7755b34a0e5b77e2294b /Kernel/Devices | |
parent | d51c81f47523aa5775cdb7371be36437b3eaa329 (diff) | |
download | serenity-a7d7c0e60c7cfebbcbd20edf8df3f6897e125bf7.zip |
Kernel: Change get_pci_address() to pci_address() in PCI::Device class
The Serenity Coding Style tends to not accept the word "get" in
methods' names if possible.
Diffstat (limited to 'Kernel/Devices')
-rw-r--r-- | Kernel/Devices/PATAChannel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Devices/PATAChannel.cpp b/Kernel/Devices/PATAChannel.cpp index 0bc54596f3..0377ebcd08 100644 --- a/Kernel/Devices/PATAChannel.cpp +++ b/Kernel/Devices/PATAChannel.cpp @@ -157,9 +157,9 @@ void PATAChannel::initialize(bool force_pio) } // Let's try to set up DMA transfers. - PCI::enable_bus_mastering(get_pci_address()); + PCI::enable_bus_mastering(pci_address()); prdt().end_of_table = 0x8000; - m_bus_master_base = PCI::get_BAR4(get_pci_address()) & 0xfffc; + m_bus_master_base = PCI::get_BAR4(pci_address()) & 0xfffc; m_dma_buffer_page = MM.allocate_supervisor_physical_page(); kprintf("PATAChannel: Bus master IDE: I/O @ %x\n", m_bus_master_base); } |