summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/amd64/pci/iommu.c8
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");
}
}