Kernel: Remove accidentally commited debug code :)
This commit is contained in:
parent
a945d19750
commit
f778bca3f2
|
@ -714,16 +714,14 @@ namespace Kernel::PCI
|
||||||
return InterruptMechanism::NONE;
|
return InterruptMechanism::NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool is_xhci = false && m_class_code == 0x0C && m_subclass == 0x03 && m_prog_if == 0x30;
|
if (m_offset_msi_x.has_value())
|
||||||
|
|
||||||
if (!is_xhci && m_offset_msi_x.has_value())
|
|
||||||
{
|
{
|
||||||
const uint16_t msg_ctrl = read_word(*m_offset_msi_x + 0x02);
|
const uint16_t msg_ctrl = read_word(*m_offset_msi_x + 0x02);
|
||||||
if (count <= (msg_ctrl & 0x7FF) + 1)
|
if (count <= (msg_ctrl & 0x7FF) + 1)
|
||||||
return InterruptMechanism::MSIX;
|
return InterruptMechanism::MSIX;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_xhci && m_offset_msi.has_value())
|
if (m_offset_msi.has_value())
|
||||||
{
|
{
|
||||||
if (count == 1)
|
if (count == 1)
|
||||||
return InterruptMechanism::MSI;
|
return InterruptMechanism::MSI;
|
||||||
|
|
Loading…
Reference in New Issue