diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2005-09-27 17:37:31 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2005-09-27 17:37:31 +0000 |
commit | a3a57f89fe8891886e2a5942c05f63a3a0ba05f6 (patch) | |
tree | 69859cec9d67e9af27b2c18e03b635159b738a90 /sys | |
parent | 940577141001e72cabb293c0bd071b42089f9623 (diff) |
Clean up prints. From jason@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/pci/iommu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/pci/iommu.c b/sys/arch/amd64/pci/iommu.c index a69446e866b..cb98a52392b 100644 --- a/sys/arch/amd64/pci/iommu.c +++ b/sys/arch/amd64/pci/iommu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iommu.c,v 1.13 2005/06/17 19:25:39 marco Exp $ */ +/* $OpenBSD: iommu.c,v 1.14 2005/09/27 17:37:30 marco Exp $ */ /* * Copyright (c) 2005 Jason L. Wright (jason@thought.net) @@ -110,7 +110,7 @@ extern paddr_t avail_end; extern struct extent *iomem_ex; int amdgarts; -int amdgart_enable = 0; +int amdgart_enable = 1; struct amdgart_softc { pci_chipset_tag_t g_pc; @@ -218,7 +218,7 @@ amdgart_dumpregs(void) amdgart_softcs[n].g_tag, GART_APBASE)); printf(" tblbase %x\n", pci_conf_read(amdgart_softcs[n].g_pc, amdgart_softcs[n].g_tag, GART_TBLBASE)); - printf("cachectl %x\n", pci_conf_read(amdgart_softcs[n].g_pc, + printf(" cachectl %x\n", pci_conf_read(amdgart_softcs[n].g_pc, amdgart_softcs[n].g_tag, GART_CACHECTRL)); p = amdgart_softcs[n].g_scrib; @@ -226,7 +226,7 @@ amdgart_dumpregs(void) for (i = 0; i < PAGE_SIZE; i++, p++) if (*p != '\0') dirty++; - printf("scribble: %s\n", dirty ? "dirty" : "clean"); + printf(" scribble: %s\n", dirty ? "dirty" : "clean"); } } |