mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +00:00
Kernel: Add dmesgln_pci logging for Kernel::PCI
A virtual method named device_name() was added to Kernel::PCI to support logging the PCI::Device name and address using dmesgln_pci. Previously, PCI::Device did not store the device name. All devices inheriting from PCI::Device now use dmesgln_pci where they previously used dmesgln.
This commit is contained in:
parent
6a5be5f1c5
commit
288a73ea0e
Notes:
sideshowbarker
2024-07-17 02:11:12 +09:00
Author: https://github.com/evansmal
Commit: 288a73ea0e
Pull-request: https://github.com/SerenityOS/serenity/pull/16071
Reviewed-by: https://github.com/FireFox317
Reviewed-by: https://github.com/bgianfo
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
24 changed files with 90 additions and 52 deletions
|
@ -21,6 +21,8 @@ class PCIIDELegacyModeController final : public IDEController
|
|||
public:
|
||||
static ErrorOr<NonnullLockRefPtr<PCIIDELegacyModeController>> initialize(PCI::DeviceIdentifier const&, bool force_pio);
|
||||
|
||||
virtual StringView device_name() const override { return "PCIIDELegacyModeController"sv; }
|
||||
|
||||
bool is_bus_master_capable() const;
|
||||
bool is_pci_native_mode_enabled() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue