Whitespace fix.
This commit is contained in:
parent
18b796d442
commit
f684249cb6
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pci_subr.c,v 1.195 2017/10/24 08:32:41 msaitoh Exp $ */
|
||||
/* $NetBSD: pci_subr.c,v 1.196 2017/10/25 08:21:41 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.195 2017/10/24 08:32:41 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.196 2017/10/25 08:21:41 msaitoh Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_pci.h"
|
||||
|
@ -4349,9 +4349,9 @@ pci_conf_print_type1(
|
|||
}
|
||||
if (base < limit) {
|
||||
if (use_upper == 1)
|
||||
printf(" range: 0x%08x-0x%08x\n", base, limit);
|
||||
printf(" range: 0x%08x-0x%08x\n", base, limit);
|
||||
else
|
||||
printf(" range: 0x%04x-0x%04x\n", base, limit);
|
||||
printf(" range: 0x%04x-0x%04x\n", base, limit);
|
||||
} else
|
||||
printf(" range: not set\n");
|
||||
|
||||
|
@ -4367,9 +4367,9 @@ pci_conf_print_type1(
|
|||
limit = (((rval >> PCI_BRIDGE_MEMORY_LIMIT_SHIFT)
|
||||
& PCI_BRIDGE_MEMORY_LIMIT_MASK) << 20) | 0x000fffff;
|
||||
if (base < limit)
|
||||
printf(" range: 0x%08x-0x%08x\n", base, limit);
|
||||
printf(" range: 0x%08x-0x%08x\n", base, limit);
|
||||
else
|
||||
printf(" range: not set\n");
|
||||
printf(" range: not set\n");
|
||||
|
||||
/* Prefetchable memory region */
|
||||
rval = regs[o2i(PCI_BRIDGE_PREFETCHMEM_REG)];
|
||||
|
@ -4399,13 +4399,13 @@ pci_conf_print_type1(
|
|||
}
|
||||
if (pbase < plimit) {
|
||||
if (use_upper == 1)
|
||||
printf(" range: 0x%016" PRIx64 "-0x%016" PRIx64
|
||||
printf(" range: 0x%016" PRIx64 "-0x%016" PRIx64
|
||||
"\n", pbase, plimit);
|
||||
else
|
||||
printf(" range: 0x%08x-0x%08x\n",
|
||||
printf(" range: 0x%08x-0x%08x\n",
|
||||
(uint32_t)pbase, (uint32_t)plimit);
|
||||
} else
|
||||
printf(" range: not set\n");
|
||||
printf(" range: not set\n");
|
||||
|
||||
if (regs[o2i(PCI_COMMAND_STATUS_REG)] & PCI_STATUS_CAPLIST_SUPPORT)
|
||||
printf(" Capability list pointer: 0x%02x\n",
|
||||
|
|
Loading…
Reference in New Issue