Module Name: src Committed By: nonaka Date: Thu Aug 25 12:21:22 UTC 2016
Modified Files: src/sys/arch/x86/pci: pci_machdep.c Log Message: more fix line break position in verbose message. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/arch/x86/pci/pci_machdep.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/arch/x86/pci/pci_machdep.c diff -u src/sys/arch/x86/pci/pci_machdep.c:1.75 src/sys/arch/x86/pci/pci_machdep.c:1.76 --- src/sys/arch/x86/pci/pci_machdep.c:1.75 Thu Aug 25 11:06:50 2016 +++ src/sys/arch/x86/pci/pci_machdep.c Thu Aug 25 12:21:21 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.c,v 1.75 2016/08/25 11:06:50 knakahara Exp $ */ +/* $NetBSD: pci_machdep.c,v 1.76 2016/08/25 12:21:21 nonaka Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -73,7 +73,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.75 2016/08/25 11:06:50 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.76 2016/08/25 12:21:21 nonaka Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -486,11 +486,15 @@ pci_attach_hook(device_t parent, device_ if (pci_has_msi_quirk(id, PCI_QUIRK_DISABLE_MSI)) { pba->pba_flags &= ~PCI_FLAGS_MSI_OKAY; pba->pba_flags &= ~PCI_FLAGS_MSIX_OKAY; - aprint_verbose_dev(self, "\nThis pci host supports neither MSI nor MSI-X."); + aprint_verbose("\n"); + aprint_verbose_dev(self, + "This pci host supports neither MSI nor MSI-X."); } else if (pci_has_msi_quirk(id, PCI_QUIRK_DISABLE_MSIX)) { pba->pba_flags |= PCI_FLAGS_MSI_OKAY; pba->pba_flags &= ~PCI_FLAGS_MSIX_OKAY; - aprint_verbose_dev(self, "\nThis pci host does not support MSI-X."); + aprint_verbose("\n"); + aprint_verbose_dev(self, + "This pci host does not support MSI-X."); } else { pba->pba_flags |= PCI_FLAGS_MSI_OKAY; pba->pba_flags |= PCI_FLAGS_MSIX_OKAY;