summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2005-09-30 00:30:15 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2005-09-30 00:30:15 +0000
commit4c05cdb70e9033c80c751f21698eed720a096cc0 (patch)
treea6d13b8fd35d47b6a1aecdcb9c0fc95c7d941da5 /sys
parent9458135b534a2c9207e7993001c6c614a7ccb71b (diff)
Allow fcn 1 to attach (mac-io on G5 tower)
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/pci/ht.c4
1 files changed, 2 insertions, 2 deletions
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);