mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
eb6a745a18
commit
ba97415ef9
@ -160,14 +160,14 @@ void Main::parse_pci_function(Bdf bdf,
|
||||
if (supports_irq || supports_msi)
|
||||
gen.node("irq", [&]
|
||||
{
|
||||
if (msi_capable && msi_x) {
|
||||
gen.attribute("type", "msi-x");
|
||||
if (msi_capable && msi) {
|
||||
gen.attribute("type", "msi");
|
||||
gen.attribute("number", msi_number++);
|
||||
return;
|
||||
}
|
||||
|
||||
if (msi_capable && msi) {
|
||||
gen.attribute("type", "msi");
|
||||
if (msi_capable && msi_x) {
|
||||
gen.attribute("type", "msi-x");
|
||||
gen.attribute("number", msi_number++);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user