summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 93eff94..8b19b5c 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -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 doesn't have an interrupt routed, and is
- * deserving of an interrupt, try to assign it one.
+ * If the child device doesn't have an interrupt routed
+ * and is deserving of an interrupt, try to assign it one.
*/
if ((type == SYS_RES_IRQ) &&
!PCI_INTERRUPT_VALID(cfg->intline) &&
OpenPOWER on IntegriCloud