mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 13:22:48 +00:00
Fix typo which inversed the logic which in turn disabled MSI.
Pointy hat to: yongari
This commit is contained in:
parent
7e6acdf12b
commit
6a15578d8a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199808
@ -2677,7 +2677,7 @@ bge_attach(device_t dev)
|
||||
* normal operation.
|
||||
*/
|
||||
rid = 0;
|
||||
if (pci_find_extcap(sc->bge_dev, PCIY_MSI, ®) != 0) {
|
||||
if (pci_find_extcap(sc->bge_dev, PCIY_MSI, ®) == 0) {
|
||||
sc->bge_msicap = reg;
|
||||
if (bge_can_use_msi(sc)) {
|
||||
msicount = pci_msi_count(dev);
|
||||
|
Loading…
Reference in New Issue
Block a user