1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

Kernel/Storage: Don't allocate IRQs in NVMeCntlr when nvme_poll passed

This commit is contained in:
Sönke Holz 2024-02-22 16:50:55 +01:00 committed by Andrew Kaster
parent 0f54d797d2
commit cdc0c9f094
4 changed files with 15 additions and 8 deletions

View file

@ -80,7 +80,7 @@ private:
AK::Duration m_ready_timeout;
PhysicalAddress m_bar { 0 };
u8 m_dbl_stride { 0 };
PCI::InterruptType m_irq_type;
Optional<PCI::InterruptType> m_irq_type;
QueueType m_queue_type { QueueType::IRQ };
static Atomic<u8> s_controller_id;
};