Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci sparc: OF_instance_to_package => prom_instance_t...



details:   https://anonhg.NetBSD.org/src/rev/916748b1a851
branches:  trunk
changeset: 559691:916748b1a851
user:      pk <pk%NetBSD.org@localhost>
date:      Mon Mar 22 10:06:31 2004 +0000

description:
sparc: OF_instance_to_package => prom_instance_to_package

diffstat:

 sys/dev/pci/machfb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1bf05c76715d -r 916748b1a851 sys/dev/pci/machfb.c
--- a/sys/dev/pci/machfb.c      Mon Mar 22 08:36:28 2004 +0000
+++ b/sys/dev/pci/machfb.c      Mon Mar 22 10:06:31 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machfb.c,v 1.16 2004/03/22 08:36:28 martin Exp $       */
+/*     $NetBSD: machfb.c,v 1.17 2004/03/22 10:06:31 pk Exp $   */
 
 /*
  * Copyright (c) 2002 Bang Jun-Young
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machfb.c,v 1.16 2004/03/22 08:36:28 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machfb.c,v 1.17 2004/03/22 10:06:31 pk Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1159,7 +1159,7 @@
        if (node == -1)
                return 0;
 
-       return (node == OF_instance_to_package(prom_stdout()));
+       return (node == prom_instance_to_package(prom_stdout()));
 #else
        return 1;
 #endif



Home | Main Index | Thread Index | Old Index