mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
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.
This commit is contained in:
parent
60715695b2
commit
583e9ad372
Notes:
sideshowbarker
2024-07-19 09:42:51 +09:00
Author: https://github.com/supercomputer7
Commit: 583e9ad372
Pull-request: https://github.com/SerenityOS/serenity/pull/1161
10 changed files with 64 additions and 50 deletions
|
@ -34,7 +34,7 @@
|
|||
class E1000NetworkAdapter final : public NetworkAdapter
|
||||
, public IRQHandler {
|
||||
public:
|
||||
static OwnPtr<E1000NetworkAdapter> autodetect();
|
||||
static void detect(const PCI::Address&);
|
||||
|
||||
E1000NetworkAdapter(PCI::Address, u8 irq);
|
||||
virtual ~E1000NetworkAdapter() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue