Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci allow MSI-X if supported by the hardware, discus...



details:   https://anonhg.NetBSD.org/src/rev/59406a6cd457
branches:  trunk
changeset: 446331:59406a6cd457
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Nov 30 17:53:08 2018 +0000

description:
allow MSI-X if supported by the hardware, discussed with Manuel

diffstat:

 sys/dev/pci/if_bge.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bf7bbcba1de2 -r 59406a6cd457 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Fri Nov 30 17:52:11 2018 +0000
+++ b/sys/dev/pci/if_bge.c      Fri Nov 30 17:53:08 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.318 2018/11/30 17:52:11 jdolecek Exp $    */
+/*     $NetBSD: if_bge.c,v 1.319 2018/11/30 17:53:08 jdolecek Exp $    */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.318 2018/11/30 17:52:11 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.319 2018/11/30 17:53:08 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -3762,7 +3762,7 @@
        int counts[PCI_INTR_TYPE_SIZE] = {
                [PCI_INTR_TYPE_INTX] = 1,
                [PCI_INTR_TYPE_MSI] = 1,
-               [PCI_INTR_TYPE_MSIX] = 0, /* MSI-X will be used in future */
+               [PCI_INTR_TYPE_MSIX] = 1,
        };
        int max_type = PCI_INTR_TYPE_MSIX;
 



Home | Main Index | Thread Index | Old Index