summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2005-06-06 15:10:20 +0000
committerjason <jason@openbsd.org>2005-06-06 15:10:20 +0000
commit7a469930d5bbd78444c4b36464ea16092b8ff76f (patch)
tree993b5260e802d0f5873e97089d7911e5a60bb019
parentChange email address for author, at his request. (diff)
downloadwireguard-openbsd-7a469930d5bbd78444c4b36464ea16092b8ff76f.tar.xz
wireguard-openbsd-7a469930d5bbd78444c4b36464ea16092b8ff76f.zip
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 =)
-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++) {