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 typo. Found by rillig. s/vendor specific/ven...



details:   https://anonhg.NetBSD.org/src/rev/1d69ea40b6f5
branches:  trunk
changeset: 359936:1d69ea40b6f5
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Feb 01 01:28:26 2022 +0000

description:
Fix typo. Found by rillig. s/vendor specific/vendor-specific/

diffstat:

 sys/dev/pci/pci_subr.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r d88c6d959a7a -r 1d69ea40b6f5 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c    Mon Jan 31 22:58:26 2022 +0000
+++ b/sys/dev/pci/pci_subr.c    Tue Feb 01 01:28:26 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_subr.c,v 1.241 2022/01/31 10:14:55 msaitoh Exp $   */
+/*     $NetBSD: pci_subr.c,v 1.242 2022/02/01 01:28:26 msaitoh Exp $   */
 
 /*
  * Copyright (c) 1997 Zubin D. Dittia.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.241 2022/01/31 10:14:55 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.242 2022/02/01 01:28:26 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -157,7 +157,7 @@
 
 /* SCSI programming interface */
 static const struct pci_class pci_interface_scsi[] = {
-       { "vendor specifi",     PCI_INTERFACE_SCSI_VND,         NULL,   },
+       { "vendor-specific",    PCI_INTERFACE_SCSI_VND,         NULL,   },
        { "PQI storage",        PCI_INTERFACE_SCSI_PQI_STORAGE, NULL,   },
        { "PQI controller",     PCI_INTERFACE_SCSI_PQI_CNTRL,   NULL,   },
        { "PQI storage and controller", PCI_INTERFACE_SCSI_PQI_STORAGE_CNTRL,
@@ -175,7 +175,7 @@
 
 /* SATA programming interface */
 static const struct pci_class pci_interface_sata[] = {
-       { "vendor specific",    PCI_INTERFACE_SATA_VND,         NULL,   },
+       { "vendor-specific",    PCI_INTERFACE_SATA_VND,         NULL,   },
        { "AHCI 1.0",           PCI_INTERFACE_SATA_AHCI10,      NULL,   },
        { "Serial Storage Bus Interface", PCI_INTERFACE_SATA_SSBI, NULL, },
        { NULL,                 0,                              NULL,   },
@@ -183,7 +183,7 @@
 
 /* Flash programming interface */
 static const struct pci_class pci_interface_nvm[] = {
-       { "vendor specific",    PCI_INTERFACE_NVM_VND,          NULL,   },
+       { "vendor-specific",    PCI_INTERFACE_NVM_VND,          NULL,   },
        { "NVMHCI 1.0",         PCI_INTERFACE_NVM_NVMHCI10,     NULL,   },
        { "NVMe I/O",           PCI_INTERFACE_NVM_NVME_IO,      NULL,   },
        { "NVMe admin",         PCI_INTERFACE_NVM_NVME_ADMIN,   NULL,   },
@@ -192,7 +192,7 @@
 
 /* UFS programming interface */
 static const struct pci_class pci_interface_ufs[] = {
-       { "vendor specific",    PCI_INTERFACE_UFS_VND,          NULL,   },
+       { "vendor-specific",    PCI_INTERFACE_UFS_VND,          NULL,   },
        { "UFSHCI",             PCI_INTERFACE_UFS_UFSHCI,       NULL,   },
        { NULL,                 0,                              NULL,   },
 };
@@ -264,7 +264,7 @@
 /* HD Audio programming interface */
 static const struct pci_class pci_interface_hda[] = {
        { "HD Audio 1.0",       PCI_INTERFACE_HDAUDIO,          NULL,   },
-       { "HD Audio 1.0 + vendor ext",  PCI_INTERFACE_HDAUDIO_VND, NULL, },
+       { "HD Audio 1.0 + vendor-ext",  PCI_INTERFACE_HDAUDIO_VND, NULL, },
        { NULL,                 0,                              NULL,   },
 };
 



Home | Main Index | Thread Index | Old Index