svn commit: r189447 - head/sys/dev/pci
Robert Noland
rnoland at FreeBSD.org
Fri Mar 6 03:24:44 PST 2009
Author: rnoland
Date: Fri Mar 6 11:24:42 2009
New Revision: 189447
URL: http://svn.freebsd.org/changeset/base/189447
Log:
Invert the logic error for the MSI/MSIX vs INTx case.
Pointyhat to: me
MFC after: 3 days
Modified:
head/sys/dev/pci/pci.c
Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c Fri Mar 6 11:15:24 2009 (r189446)
+++ head/sys/dev/pci/pci.c Fri Mar 6 11:24:42 2009 (r189447)
@@ -2920,7 +2920,7 @@ pci_teardown_intr(device_t dev, device_t
return(bus_generic_teardown_intr(dev, child, irq, cookie));
rid = rman_get_rid(irq);
- if (rid > 0) {
+ if (rid == 0) {
/* Mask INTx */
pci_set_command_bit(dev, child, PCIM_CMD_INTxDIS);
} else {
More information about the svn-src-all
mailing list