summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/pci/iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/pci/iommu.c')
-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++) {