summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/aac/aac_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c
index 87ada1c..f768c8b 100644
--- a/sys/dev/aac/aac_pci.c
+++ b/sys/dev/aac/aac_pci.c
@@ -394,6 +394,7 @@ aac_pci_attach(device_t dev)
* Allocate the interrupt.
*/
rid = 0;
+ count = 0;
if (aac_enable_msi != 0 && pci_find_cap(dev, PCIY_MSI, &reg) == 0) {
count = pci_msi_count(dev);
if (count > 1)
OpenPOWER on IntegriCloud