From 64a9c222c04e321adbee52e01ebee89dd62b712c Mon Sep 17 00:00:00 2001 From: eeh Date: Tue, 24 Jul 2001 19:27:10 +0000 Subject: [PATCH] Use OF_getprop instead of getprop. --- sys/arch/sparc64/dev/com_ebus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc64/dev/com_ebus.c b/sys/arch/sparc64/dev/com_ebus.c index 11d02a7ace94..9ea568786d4c 100644 --- a/sys/arch/sparc64/dev/com_ebus.c +++ b/sys/arch/sparc64/dev/com_ebus.c @@ -1,4 +1,4 @@ -/* $NetBSD: com_ebus.c,v 1.5 2001/07/19 23:55:50 eeh Exp $ */ +/* $NetBSD: com_ebus.c,v 1.6 2001/07/24 19:27:10 eeh Exp $ */ /* * Copyright (c) 1999, 2000 Matthew R. Green @@ -189,13 +189,13 @@ com_ebus_attach(parent, self, aux) /* Attach 'em if we got 'em. */ #if (NKBD > 0) kma.kmta_name = "keyboard"; - if (getproplen(ea->ea_node, kma.kmta_name) == 0) { + if (OF_getproplen(ea->ea_node, kma.kmta_name) == 0) { config_found(self, (void *)&kma, NULL); } #endif #if (NMS > 0) kma.kmta_name = "mouse"; - if (getproplen(ea->ea_node, kma.kmta_name) == 0) { + if (OF_getproplen(ea->ea_node, kma.kmta_name) == 0) { config_found(self, (void *)&kma, NULL); } #endif