Module Name: src
Committed By: matt
Date: Tue Aug 11 02:32:38 UTC 2009
Modified Files:
src/sys/arch/evbmips/gdium: mainbus.c
Log Message:
Fix mainbus_print and don't pass a NULL name.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/gdium/mainbus.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbmips/gdium/mainbus.c
diff -u src/sys/arch/evbmips/gdium/mainbus.c:1.2 src/sys/arch/evbmips/gdium/mainbus.c:1.3
--- src/sys/arch/evbmips/gdium/mainbus.c:1.2 Thu Aug 6 16:37:01 2009
+++ src/sys/arch/evbmips/gdium/mainbus.c Tue Aug 11 02:32:38 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.2 2009/08/06 16:37:01 matt Exp $ */
+/* $NetBSD: mainbus.c,v 1.3 2009/08/11 02:32:38 matt Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.2 2009/08/06 16:37:01 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.3 2009/08/11 02:32:38 matt Exp $");
#include "opt_pci.h"
@@ -79,7 +79,6 @@
"i2c",
"gpio",
#endif
- NULL,
};
static int
@@ -118,7 +117,7 @@
for (i = 0; i < __arraycount(mainbusdevs); i++) {
struct mainbus_attach_args maa;
maa.maa_name = mainbusdevs[i];
- (void) config_found_ia(self, "mainbus", &maa, mainbus_print);
+ (void) config_found(self, &maa, mainbus_print);
}
}
@@ -127,9 +126,6 @@
{
struct mainbus_attach_args *maa = aux;
- if (pnp != 0)
- return QUIET;
-
if (pnp)
aprint_normal("%s at %s", maa->maa_name, pnp);