Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/macppc/macppc pullup 1.10->1.11 (thorpej)



details:   https://anonhg.NetBSD.org/src/rev/a7d1c3eeee8e
branches:  netbsd-1-4
changeset: 468666:a7d1c3eeee8e
user:      perry <perry%NetBSD.org@localhost>
date:      Thu May 06 02:00:42 1999 +0000

description:
pullup 1.10->1.11 (thorpej)

diffstat:

 sys/arch/macppc/macppc/autoconf.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r c54f3a63fc7b -r a7d1c3eeee8e sys/arch/macppc/macppc/autoconf.c
--- a/sys/arch/macppc/macppc/autoconf.c Thu May 06 00:19:11 1999 +0000
+++ b/sys/arch/macppc/macppc/autoconf.c Thu May 06 02:00:42 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.10 1999/04/01 00:17:47 thorpej Exp $    */
+/*     $NetBSD: autoconf.c,v 1.10.2.1 1999/05/06 02:00:42 perry Exp $  */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -73,7 +73,9 @@
 {
        int node, reg[5];
 
-       node = OF_finddevice("/pci/mac-io");
+       node = OF_finddevice("mac-io");
+       if (node == -1)
+               node = OF_finddevice("/pci/mac-io");
        if (node != -1 &&
            OF_getprop(node, "assigned-addresses", reg, sizeof(reg)) != -1) {
                interrupt_reg = mapiodev(reg[2], NBPG);



Home | Main Index | Thread Index | Old Index