diff options
author | yongari <yongari@FreeBSD.org> | 2012-10-08 07:01:07 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2012-10-08 07:01:07 +0000 |
commit | e78a22c3a4023f6b3172ee42ad16306c83169da5 (patch) | |
tree | e7d31c58da5a408e720106bb937be31ea6e8eefb | |
parent | 909d71f7839f908b99ac45c42b2603db8bc39e88 (diff) | |
download | FreeBSD-src-e78a22c3a4023f6b3172ee42ad16306c83169da5.zip FreeBSD-src-e78a22c3a4023f6b3172ee42ad16306c83169da5.tar.gz |
Fix typo. Check against number of allocated MSI-X vectors.
There is no ale(4) controller that supports MSI-X so this is not
real issue.
PR: kern/171825
-rw-r--r-- | sys/dev/ale/if_ale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ale/if_ale.c b/sys/dev/ale/if_ale.c index 78c0b4e..665fe56 100644 --- a/sys/dev/ale/if_ale.c +++ b/sys/dev/ale/if_ale.c @@ -551,7 +551,7 @@ ale_attach(device_t dev) if (msix_disable == 0 || msi_disable == 0) { if (msix_disable == 0 && msixc == ALE_MSIX_MESSAGES && pci_alloc_msix(dev, &msixc) == 0) { - if (msic == ALE_MSIX_MESSAGES) { + if (msixc == ALE_MSIX_MESSAGES) { device_printf(dev, "Using %d MSIX messages.\n", msixc); sc->ale_flags |= ALE_FLAG_MSIX; |