Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Catch up with pcireg.h change



details:   https://anonhg.NetBSD.org/src/rev/6a64e9fc18ea
branches:  trunk
changeset: 989024:6a64e9fc18ea
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Oct 10 07:50:53 2021 +0000

description:
Catch up with pcireg.h change

diffstat:

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

diffs (27 lines):

diff -r a012e2aef0dc -r 6a64e9fc18ea sys/dev/pci/nvme_pci.c
--- a/sys/dev/pci/nvme_pci.c    Sun Oct 10 07:41:21 2021 +0000
+++ b/sys/dev/pci/nvme_pci.c    Sun Oct 10 07:50:53 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvme_pci.c,v 1.30 2021/05/29 08:46:38 riastradh Exp $  */
+/*     $NetBSD: nvme_pci.c,v 1.31 2021/10/10 07:50:53 skrll 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.30 2021/05/29 08:46:38 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvme_pci.c,v 1.31 2021/10/10 07:50:53 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -137,7 +137,7 @@
 
        if (PCI_CLASS(pa->pa_class) == PCI_CLASS_MASS_STORAGE &&
            PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_MASS_STORAGE_NVM &&
-           PCI_INTERFACE(pa->pa_class) == PCI_INTERFACE_NVM_NVME)
+           PCI_INTERFACE(pa->pa_class) == PCI_INTERFACE_NVM_NVME_IO)
                return 1;
 
        return 0;



Home | Main Index | Thread Index | Old Index