summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2005-06-06 15:10:21 +0000
committerJason Wright <jason@cvs.openbsd.org>2005-06-06 15:10:21 +0000
commit69f11d5a51497922cc0e1806dd615a1ae9448e42 (patch)
treead3e8105c0dd9141d7ccbef2b457f3d6a4adde3e /sys/arch
parente806976568a4480b98718db20f290df8ddf5ef6f (diff)
enable iommu on all systems where we support it. We'll support it on more
systems in a week or two (hey, getting a machine is taking me longer than I expected =)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/pci/iommu.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/amd64/pci/iommu.c b/sys/arch/amd64/pci/iommu.c
index 7ed876d3704..cb38628d471 100644
--- a/sys/arch/amd64/pci/iommu.c
+++ b/sys/arch/amd64/pci/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.9 2005/06/02 15:26:03 jason Exp $ */
+/* $OpenBSD: iommu.c,v 1.10 2005/06/06 15:10:20 jason Exp $ */
/*
* Copyright (c) 2005 Jason L. Wright (jason@thought.net)
@@ -110,7 +110,6 @@ extern paddr_t avail_end;
extern struct extent *iomem_ex;
int amdgarts;
-int amdgart_enable;
struct amdgart_softc {
pci_chipset_tag_t g_pc;
@@ -253,9 +252,6 @@ amdgart_probe(struct pcibus_attach_args *pba)
u_int32_t *pte;
paddr_t ptepa;
- if (amdgart_enable == 0)
- return;
-
TAILQ_INIT(&plist);
for (count = 0, dev = 24; dev < 32; dev++) {