summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-09-23 04:24:59 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-09-23 04:24:59 +0000
commitf6c58a2ce74362d01ebd9e88536689a559dd2a1c (patch)
tree5ca93fa3b91857e8447ab0c6a49f6b80f8fdc0e0 /sys
parentfe9251f29bc638aa030db39aca14e13ce4769dc8 (diff)
Print pci_addr_fixup info when debugging is enabled, not disabled, ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/pci/pci_addr_fixup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/pci/pci_addr_fixup.c b/sys/arch/macppc/pci/pci_addr_fixup.c
index a4ce7bc8dfc..7604bcedde5 100644
--- a/sys/arch/macppc/pci/pci_addr_fixup.c
+++ b/sys/arch/macppc/pci/pci_addr_fixup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_addr_fixup.c,v 1.3 2002/09/15 09:01:59 deraadt Exp $ */
+/* $OpenBSD: pci_addr_fixup.c,v 1.4 2002/09/23 04:24:58 drahn Exp $ */
/* $NetBSD: pci_addr_fixup.c,v 1.7 2000/08/03 20:10:45 nathanw Exp $ */
/*-
@@ -298,7 +298,7 @@ pciaddr_do_resource_allocate(sc, pc, tag, mapreg, ex, type, addr, size)
/* write new address to PCI device configuration header */
pci_conf_write(pc, tag, mapreg, *addr);
/* check */
- if (!pcibr_flags & PCIBR_VERBOSE)
+ if (pcibr_flags & PCIBR_VERBOSE)
{
printf("pci_addr_fixup: ");
pciaddr_print_devid(pc, tag);
@@ -309,7 +309,7 @@ pciaddr_do_resource_allocate(sc, pc, tag, mapreg, ex, type, addr, size)
printf("fixup failed. (new address=%#x)\n", *addr);
return (1);
}
- if (!pcibr_flags & PCIBR_VERBOSE)
+ if (pcibr_flags & PCIBR_VERBOSE)
printf("new address 0x%08x\n", *addr);
return (0);