summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-08-25 20:56:41 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-08-25 20:56:41 +0000
commita646823fd221560a158baa43b93db1b01ca3f1af (patch)
tree2013fbe62899474eb3f179d75feeac7a468a5d51 /sys
parente6824005307bc0f8db18a47101f72276e6f76f79 (diff)
We can treat BARs initialized to 0 as invalid now on socppc.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pci_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pci_map.c b/sys/dev/pci/pci_map.c
index 33d3cb0e404..959b08e110b 100644
--- a/sys/dev/pci/pci_map.c
+++ b/sys/dev/pci/pci_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_map.c,v 1.25 2009/07/23 19:29:58 kettenis Exp $ */
+/* $OpenBSD: pci_map.c,v 1.26 2009/08/25 20:56:40 kettenis Exp $ */
/* $NetBSD: pci_map.c,v 1.7 2000/05/10 16:58:42 thorpej Exp $ */
/*-
@@ -319,7 +319,7 @@ pci_mapreg_map(struct pci_attach_args *pa, int reg, pcireg_t type, int busflags,
if ((rv = pci_mapreg_info(pa->pa_pc, pa->pa_tag, reg, type,
&base, &size, &flags)) != 0)
return (rv);
-#if !defined(__sparc64__) && !defined(__socppc__)
+#if !defined(__sparc64__)
if (base == 0) {
struct extent *ex;