Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/macppc Check "mac-io" and "/pci/mac-io".
details: https://anonhg.NetBSD.org/src/rev/65a499a4e67d
branches: trunk
changeset: 472541:65a499a4e67d
user: tsubai <tsubai%NetBSD.org@localhost>
date: Sat May 01 10:37:57 1999 +0000
description:
Check "mac-io" and "/pci/mac-io".
diffstat:
sys/arch/macppc/macppc/autoconf.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r d7b1cb94188c -r 65a499a4e67d sys/arch/macppc/macppc/autoconf.c
--- a/sys/arch/macppc/macppc/autoconf.c Sat May 01 10:36:08 1999 +0000
+++ b/sys/arch/macppc/macppc/autoconf.c Sat May 01 10:37:57 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.11 1999/05/01 10:37:57 tsubai 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