in ofbattach(), don't both doing an ofbprint() by hand if the root node.

The old ofbprint() wasn't particularly good (it forced the root node
to have a 'name' property, which apparently violates the OFW spec), and
the new one (though it normally prints more useful information) has
nothing useful to say about the root node.  It's not clear to me that
'ofroot' should exist at all.
This commit is contained in:
cgd 1998-02-03 00:43:46 +00:00
parent 5769bb1db8
commit 9c46cdbef5
1 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ofbus.c,v 1.7 1998/02/02 22:00:07 cgd Exp $ */
/* $NetBSD: ofbus.c,v 1.8 1998/02/03 00:43:46 cgd Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -89,9 +89,6 @@ ofbattach(parent, dev, aux)
struct ofprobe probe;
int units;
if (!parent)
ofbprint(aux, 0);
printf("\n");
/*