Date: Wed, 25 Nov 2009 17:51:14 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r199808 - head/sys/dev/bge Message-ID: <200911251751.nAPHpEv1057377@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yongari Date: Wed Nov 25 17:51:14 2009 New Revision: 199808 URL: http://svn.freebsd.org/changeset/base/199808 Log: Fix typo which inversed the logic which in turn disabled MSI. Pointy hat to: yongari Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ============================================================================== --- head/sys/dev/bge/if_bge.c Wed Nov 25 17:30:38 2009 (r199807) +++ head/sys/dev/bge/if_bge.c Wed Nov 25 17:51:14 2009 (r199808) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911251751.nAPHpEv1057377>