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