Make sure we add an interrupt resource if intline!=255.
This commit is contained in:
parent
bfd825c01c
commit
4ed33d1537
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52508
@ -1045,7 +1045,7 @@ pci_add_resources(device_t dev, pcicfgregs* cfg)
|
||||
(unsigned int) base, ln2size);
|
||||
}
|
||||
}
|
||||
if (cfg->intline)
|
||||
if (cfg->intline != 255)
|
||||
resource_list_add(rl, SYS_RES_IRQ, 0,
|
||||
cfg->intline, cfg->intline, 1);
|
||||
}
|
||||
|
@ -1045,7 +1045,7 @@ pci_add_resources(device_t dev, pcicfgregs* cfg)
|
||||
(unsigned int) base, ln2size);
|
||||
}
|
||||
}
|
||||
if (cfg->intline)
|
||||
if (cfg->intline != 255)
|
||||
resource_list_add(rl, SYS_RES_IRQ, 0,
|
||||
cfg->intline, cfg->intline, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user