Fix up a comment.

This commit is contained in:
John Baldwin 2002-09-04 03:53:21 +00:00
parent 34f73fbd8c
commit dd699396ce

View File

@ -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) &&