Module Name: src
Committed By: msaitoh
Date: Tue Feb 1 01:28:26 UTC 2022
Modified Files:
src/sys/dev/pci: pci_subr.c
Log Message:
Fix typo. Found by rillig. s/vendor specific/vendor-specific/
To generate a diff of this commit:
cvs rdiff -u -r1.241 -r1.242 src/sys/dev/pci/pci_subr.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/pci_subr.c
diff -u src/sys/dev/pci/pci_subr.c:1.241 src/sys/dev/pci/pci_subr.c:1.242
--- src/sys/dev/pci/pci_subr.c:1.241 Mon Jan 31 10:14:55 2022
+++ src/sys/dev/pci/pci_subr.c Tue Feb 1 01:28:26 2022
@@ -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 @@ static const struct pci_class pci_subcla
/* 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 @@ static const struct pci_class pci_interf
/* 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 @@ static const struct pci_class pci_interf
/* 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 @@ static const struct pci_class pci_interf
/* 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 @@ static const struct pci_class pci_subcla
/* 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, },
};