summaryrefslogtreecommitdiff
path: root/Kernel/Bus/PCI/API.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-09-23 10:50:45 +0300
committerAndreas Kling <kling@serenityos.org>2021-09-29 11:24:33 +0200
commita411a44fda3ba713e139331d4c29ea32f70c99d8 (patch)
tree8f17520fc4f614a622cd2a30b591db9beff61ae6 /Kernel/Bus/PCI/API.h
parent057f5a12c2c69b1bad1d8b778d3cb934b3a8f346 (diff)
downloadserenity-a411a44fda3ba713e139331d4c29ea32f70c99d8.zip
Kernel/PCI: Cache interrupt line and interrupt pin of a device
This allows us to remove the PCI::get_interrupt_line API function. As a result, this removes a bunch of not so great patterns that we used to cache PCI interrupt line in many IRQHandler derived classes instead of just using interrupt_number method of IRQHandler class.
Diffstat (limited to 'Kernel/Bus/PCI/API.h')
-rw-r--r--Kernel/Bus/PCI/API.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Bus/PCI/API.h b/Kernel/Bus/PCI/API.h
index 38798c7b23..d65d7ea8b9 100644
--- a/Kernel/Bus/PCI/API.h
+++ b/Kernel/Bus/PCI/API.h
@@ -22,7 +22,6 @@ bool is_io_space_enabled(Address);
void enumerate(Function<void(Address, DeviceIdentifier const&)> callback);
void enable_interrupt_line(Address);
void disable_interrupt_line(Address);
-u8 get_interrupt_line(Address);
void raw_access(Address, u32, size_t, u32);
u32 get_BAR0(Address);
u32 get_BAR1(Address);