summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-23 15:30:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-23 15:30:26 +0000
commit30988403984654542734e24a3ab5df6fa08e0777 (patch)
treec7c6fe2535a885a0029196ff1043f583bfcf9e08 /sys/dev/pci
parent4f5e87f95c65e772d75e9bddcc79934f8f7de8b3 (diff)
remove another piece of ancient #ifdef arc code
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/tga.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/tga.c b/sys/dev/pci/tga.c
index f07b9b1459f..22206b4cf13 100644
--- a/sys/dev/pci/tga.c
+++ b/sys/dev/pci/tga.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tga.c,v 1.33 2009/09/05 14:09:35 miod Exp $ */
+/* $OpenBSD: tga.c,v 1.34 2010/05/23 15:30:25 deraadt Exp $ */
/* $NetBSD: tga.c,v 1.40 2002/03/13 15:05:18 ad Exp $ */
/*
@@ -232,9 +232,6 @@ tga_getdevconfig(memt, pc, tag, dc)
#ifdef __alpha__
dc->dc_paddr = ALPHA_K0SEG_TO_PHYS(dc->dc_vaddr); /* XXX */
#endif
-#ifdef arc
- bus_space_paddr(memt, dc->dc_memh, &dc->dc_paddr);
-#endif
DPRINTF("tga_getdevconfig: allocating subregion\n");
bus_space_subregion(dc->dc_memt, dc->dc_memh,
TGA_MEM_CREGS, TGA_CREGS_SIZE,
@@ -417,7 +414,7 @@ tgaattach(parent, self, aux)
u_int8_t rev;
int console;
-#if defined(__alpha__) || defined(arc)
+#if defined(__alpha__)
console = (pa->pa_tag == tga_console_dc.dc_pcitag);
#else
console = 0;