From a646823fd221560a158baa43b93db1b01ca3f1af Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 25 Aug 2009 20:56:41 +0000 Subject: We can treat BARs initialized to 0 as invalid now on socppc. --- sys/dev/pci/pci_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci') 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; -- cgit v1.2.3