Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev Get rid of spurious OF_getprop().



details:   https://anonhg.NetBSD.org/src/rev/4ef64551ec03
branches:  trunk
changeset: 514791:4ef64551ec03
user:      eeh <eeh%NetBSD.org@localhost>
date:      Mon Sep 10 16:27:53 2001 +0000

description:
Get rid of spurious OF_getprop().

diffstat:

 sys/arch/sparc64/dev/ebus.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 5cd6ee675231 -r 4ef64551ec03 sys/arch/sparc64/dev/ebus.c
--- a/sys/arch/sparc64/dev/ebus.c       Mon Sep 10 16:17:06 2001 +0000
+++ b/sys/arch/sparc64/dev/ebus.c       Mon Sep 10 16:27:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ebus.c,v 1.25 2001/09/10 16:17:06 eeh Exp $    */
+/*     $NetBSD: ebus.c,v 1.26 2001/09/10 16:27:53 eeh Exp $    */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -141,7 +141,6 @@
                return (1);
 
        /* Or a real ebus III */
-       OF_getprop(node, "name", &name, sizeof(name));
        if (PCI_CLASS(pa->pa_class) == PCI_CLASS_BRIDGE &&
            PCI_VENDOR(pa->pa_id) == PCI_VENDOR_SUN &&
            PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SUN_EBUSIII &&



Home | Main Index | Thread Index | Old Index