Fix up a comment.
This commit is contained in:
parent
34f73fbd8c
commit
dd699396ce
@ -1297,8 +1297,8 @@ pci_alloc_resource(device_t dev, device_t child, int type, int *rid,
|
|||||||
*/
|
*/
|
||||||
if (device_get_parent(child) == dev) {
|
if (device_get_parent(child) == dev) {
|
||||||
/*
|
/*
|
||||||
* If device doesn't have an interrupt routed, and is
|
* If the child device doesn't have an interrupt routed
|
||||||
* deserving of an interrupt, try to assign it one.
|
* and is deserving of an interrupt, try to assign it one.
|
||||||
*/
|
*/
|
||||||
if ((type == SYS_RES_IRQ) &&
|
if ((type == SYS_RES_IRQ) &&
|
||||||
!PCI_INTERRUPT_VALID(cfg->intline) &&
|
!PCI_INTERRUPT_VALID(cfg->intline) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user