similar to other such diffs, this enables msi for ix(4).

OK?

Index: dev/pci/if_ix.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ix.c,v
retrieving revision 1.51
diff -u -p -r1.51 if_ix.c
--- dev/pci/if_ix.c     15 Apr 2011 15:12:27 -0000      1.51
+++ dev/pci/if_ix.c     31 May 2011 07:39:46 -0000
@@ -1297,7 +1321,7 @@ ixgbe_allocate_legacy(struct ix_softc *s
                sc->rid[0] = 0;
 
        /* We allocate a single interrupt resource */
-       if (pci_intr_map(pa, &ih)) {
+       if (pci_intr_map_msi(pa, &ih) != 0 && pci_intr_map(pa, &ih) != 0) {
                printf(": couldn't map interrupt\n");
                return (ENXIO);
        }




-- 
Lowery's Law:
        If it jams -- force it.
        If it breaks, it needed replacing anyway.

Reply via email to