diff options
| author | Pyun YongHyeon <yongari@FreeBSD.org> | 2009-02-11 00:23:56 +0000 |
|---|---|---|
| committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2009-02-11 00:23:56 +0000 |
| commit | f1bb696a81a0f88dbc89cf9cc0581bd3dcd1c76b (patch) | |
| tree | a910c977c3a0f9d315fb0424925bf43f85579681 /sys/dev/re | |
| parent | 64fc5491dbb134f117eaef3a2509a337ba3d5d10 (diff) | |
Notes
Diffstat (limited to 'sys/dev/re')
| -rw-r--r-- | sys/dev/re/if_re.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index eb48c894b708..06d1a456320f 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -1149,7 +1149,8 @@ re_attach(device_t dev) if (bootverbose) device_printf(dev, "MSI count : %d\n", msic); } - if (msic == RL_MSI_MESSAGES && msi_disable == 0) { + if (msic > 0 && msi_disable == 0) { + msic = 1; if (pci_alloc_msi(dev, &msic) == 0) { if (msic == RL_MSI_MESSAGES) { device_printf(dev, "Using %d MSI messages\n", |
