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 typos:



details:   https://anonhg.NetBSD.org/src/rev/538fd35c5a5b
branches:  trunk
changeset: 822774:538fd35c5a5b
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Apr 06 08:57:01 2017 +0000

description:
Fix typos:
- s/Readness/Readiness/
- s/Presense/Presence/
- s/supportted/supported/
- s/Rquester/Requester/
- s/Check Enab/Check Enable/

diffstat:

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

diffs (72 lines):

diff -r 38b7f567e42f -r 538fd35c5a5b sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c    Thu Apr 06 05:08:17 2017 +0000
+++ b/sys/dev/pci/pci_subr.c    Thu Apr 06 08:57:01 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_subr.c,v 1.171 2017/03/30 08:44:33 msaitoh Exp $   */
+/*     $NetBSD: pci_subr.c,v 1.172 2017/04/06 08:57:01 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.171 2017/03/30 08:44:33 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.172 2017/04/06 08:57:01 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -778,7 +778,7 @@
        onoff("Interrupt disable", rval, PCI_COMMAND_INTERRUPT_DISABLE);
 
        printf("    Status register: 0x%04x\n", (rval >> 16) & 0xffff);
-       onoff("Immediate Readness", rval, PCI_STATUS_IMMD_READNESS);
+       onoff("Immediate Readiness", rval, PCI_STATUS_IMMD_READNESS);
        onoff2("Interrupt status", rval, PCI_STATUS_INT_STATUS, "active",
            "inactive");
        onoff("Capability List support", rval, PCI_STATUS_CAPLIST_SUPPORT);
@@ -1898,7 +1898,7 @@
                onoff("Attention Button Pressed Enabled", reg, PCIE_SLCSR_ABE);
                onoff("Power Fault Detected Enabled", reg, PCIE_SLCSR_PFE);
                onoff("MRL Sensor Changed Enabled", reg, PCIE_SLCSR_MSE);
-               onoff("Presense Detect Changed Enabled", reg, PCIE_SLCSR_PDE);
+               onoff("Presence Detect Changed Enabled", reg, PCIE_SLCSR_PDE);
                onoff("Command Completed Interrupt Enabled", reg,
                    PCIE_SLCSR_CCE);
                onoff("Hot-Plug Interrupt Enabled", reg, PCIE_SLCSR_HPE);
@@ -1946,7 +1946,7 @@
                onoff("Attention Button Pressed", reg, PCIE_SLCSR_ABP);
                onoff("Power Fault Detected", reg, PCIE_SLCSR_PFD);
                onoff("MRL Sensor Changed", reg, PCIE_SLCSR_MSC);
-               onoff("Presense Detect Changed", reg, PCIE_SLCSR_PDC);
+               onoff("Presence Detect Changed", reg, PCIE_SLCSR_PDC);
                onoff("Command Completed", reg, PCIE_SLCSR_CC);
                onoff("MRL Open", reg, PCIE_SLCSR_MS);
                onoff("Card Present in slot", reg, PCIE_SLCSR_PDS);
@@ -2013,7 +2013,7 @@
        printf("      TPH Completer Supported: ");
        switch (__SHIFTOUT(reg, PCIE_DCAP2_TPH_COMP)) {
        case 0:
-               printf("Not supportted\n");
+               printf("Not supported\n");
                break;
        case 1:
                printf("TPH\n");
@@ -2086,7 +2086,7 @@
        pci_print_pcie_compl_timeout(reg & PCIE_DCSR2_COMPT_VAL);
        onoff("Completion Timeout Disabled", reg, PCIE_DCSR2_COMPT_DIS);
        onoff("ARI Forwarding Enabled", reg, PCIE_DCSR2_ARI_FWD);
-       onoff("AtomicOp Rquester Enabled", reg, PCIE_DCSR2_ATOM_REQ);
+       onoff("AtomicOp Requester Enabled", reg, PCIE_DCSR2_ATOM_REQ);
        onoff("AtomicOp Egress Blocking", reg, PCIE_DCSR2_ATOM_EBLK);
        onoff("IDO Request Enabled", reg, PCIE_DCSR2_IDO_REQ);
        onoff("IDO Completion Enabled", reg, PCIE_DCSR2_IDO_COMP);
@@ -2447,7 +2447,7 @@
        onoff("ECRC Generation Capable", reg, PCI_AER_ECRC_GEN_CAPABLE);
        onoff("ECRC Generation Enable", reg, PCI_AER_ECRC_GEN_ENABLE);
        onoff("ECRC Check Capable", reg, PCI_AER_ECRC_CHECK_CAPABLE);
-       onoff("ECRC Check Enab", reg, PCI_AER_ECRC_CHECK_ENABLE);
+       onoff("ECRC Check Enable", reg, PCI_AER_ECRC_CHECK_ENABLE);
        onoff("Multiple Header Recording Capable", reg,
            PCI_AER_MULT_HDR_CAPABLE);
        onoff("Multiple Header Recording Enable", reg,PCI_AER_MULT_HDR_ENABLE);



Home | Main Index | Thread Index | Old Index