Module Name: src Committed By: msaitoh Date: Thu Jul 18 07:49:27 UTC 2019
Modified Files: src/sys/dev/pci: pci_subr.c Log Message: Remove whitespace for consistency. To generate a diff of this commit: cvs rdiff -u -r1.214 -r1.215 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.214 src/sys/dev/pci/pci_subr.c:1.215 --- src/sys/dev/pci/pci_subr.c:1.214 Tue Jul 9 12:17:13 2019 +++ src/sys/dev/pci/pci_subr.c Thu Jul 18 07:49:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: pci_subr.c,v 1.214 2019/07/09 12:17:13 msaitoh Exp $ */ +/* $NetBSD: pci_subr.c,v 1.215 2019/07/18 07:49: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.214 2019/07/09 12:17:13 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.215 2019/07/18 07:49:26 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_pci.h" @@ -1524,7 +1524,7 @@ pci_conf_print_subsystem_cap(const pcire reg = regs[o2i(capoff + PCI_CAP_SUBSYS_ID)]; printf("\n Subsystem ID Capability Register\n"); - printf(" Subsystem ID : 0x%08x\n", reg); + printf(" Subsystem ID: 0x%08x\n", reg); } /* XXX pci_conf_print_agp8_cap */ @@ -1570,7 +1570,7 @@ pci_conf_print_secure_cap(const pcireg_t onoff("Enable", reg, PCI_SECURE_IOMMU_BAL_EN); reg2 = regs[o2i(capoff + PCI_SECURE_IOMMU_BAH)]; printf(" Base Address High Register: 0x%08x\n", reg2); - printf(" Base Address : 0x%016" PRIx64 "\n", + printf(" Base Address: 0x%016" PRIx64 "\n", ((uint64_t)reg2 << 32) | (reg & (PCI_SECURE_IOMMU_BAL_H | PCI_SECURE_IOMMU_BAL_L)));