Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci fix pasto (MSI -> MSIX)
details: https://anonhg.NetBSD.org/src/rev/dcbd52948608
branches: trunk
changeset: 995001:dcbd52948608
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Dec 01 13:32:55 2018 +0000
description:
fix pasto (MSI -> MSIX)
diffstat:
sys/dev/pci/nvme_pci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 32a8f7b26362 -r dcbd52948608 sys/dev/pci/nvme_pci.c
--- a/sys/dev/pci/nvme_pci.c Sat Dec 01 13:31:48 2018 +0000
+++ b/sys/dev/pci/nvme_pci.c Sat Dec 01 13:32:55 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvme_pci.c,v 1.23 2018/12/01 13:31:48 jdolecek Exp $ */
+/* $NetBSD: nvme_pci.c,v 1.24 2018/12/01 13:32:55 jdolecek Exp $ */
/* $OpenBSD: nvme_pci.c,v 1.3 2016/04/14 11:18:32 dlg Exp $ */
/*
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvme_pci.c,v 1.23 2018/12/01 13:31:48 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvme_pci.c,v 1.24 2018/12/01 13:32:55 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -401,7 +401,7 @@
if (counts[PCI_INTR_TYPE_MSIX] < 1) {
counts[PCI_INTR_TYPE_MSIX] = 0;
} else if (!nvme_pci_mq || !nvme_pci_mpsafe) {
- if (counts[PCI_INTR_TYPE_MSI] > 2)
+ if (counts[PCI_INTR_TYPE_MSIX] > 2)
counts[PCI_INTR_TYPE_MSIX] = 2; /* adminq + 1 ioq */
}
Home |
Main Index |
Thread Index |
Old Index