summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2011-04-27 20:08:44 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2011-04-27 20:08:44 +0000
commit8adcbaed13b5fa0e8f26c03c6556f5b42db5e3d7 (patch)
treedf2af84c37d2675ba89e5b02339a754c658ef70c /sys/dev/pci
parentb8e463e644eb270585829f5909bcfe68d5e394b9 (diff)
Notes
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 40e3b0c8fbd4..e14dc93ac947 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1969,7 +1969,7 @@ pci_alloc_msi_method(device_t dev, device_t child, int *count)
for (;;) {
/* Try to allocate N messages. */
error = PCIB_ALLOC_MSI(device_get_parent(dev), child, actual,
- cfg->msi.msi_msgnum, irqs);
+ actual, irqs);
if (error == 0)
break;
if (actual == 1)