From 4c05cdb70e9033c80c751f21698eed720a096cc0 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Fri, 30 Sep 2005 00:30:15 +0000 Subject: Allow fcn 1 to attach (mac-io on G5 tower) --- sys/arch/macppc/pci/ht.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/macppc/pci/ht.c b/sys/arch/macppc/pci/ht.c index 881e338bc43..8a98a1ed175 100644 --- a/sys/arch/macppc/pci/ht.c +++ b/sys/arch/macppc/pci/ht.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ht.c,v 1.2 2005/09/29 21:44:33 kettenis Exp $ */ +/* $OpenBSD: ht.c,v 1.3 2005/09/30 00:30:14 drahn Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -257,7 +257,7 @@ ht_conf_read(void *cpv, pcitag_t tag, int offset) if (tag >= 0x2000) panic("tag >= 0x2000"); /* XXX Needed on some PowerMac G5's. Why? */ - if (fcn > 0) + if (fcn > 1) return ~0; tag |= offset; reg = bus_space_read_4(sc->sc_memt, sc->sc_config0_memh, tag); -- cgit v1.2.3