Module Name:    src
Committed By:   jdolecek
Date:           Fri Nov 30 17:53:08 UTC 2018

Modified Files:
        src/sys/dev/pci: if_bge.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.318 -r1.319 src/sys/dev/pci/if_bge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.318 src/sys/dev/pci/if_bge.c:1.319
--- src/sys/dev/pci/if_bge.c:1.318	Fri Nov 30 17:52:11 2018
+++ src/sys/dev/pci/if_bge.c	Fri Nov 30 17:53:08 2018
@@ -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 @@ bge_attach(device_t parent, device_t sel
 	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;
 

Reply via email to