summaryrefslogtreecommitdiff
path: root/sys/dev/std
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>2004-09-13 12:55:47 +0000
committerdrochner <drochner@NetBSD.org>2004-09-13 12:55:47 +0000
commit96b589fc18f127096765a73ce06d19b77c74ddd3 (patch)
tree6f3aad7b385547b72455368d5d1ba565f97753c9 /sys/dev/std
parentd758c655523e5538a1058c274befda1208701a0a (diff)
a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or config_found_sm()) to the locator passing variants -pass interface attributes in some cases -make submatch() functions look uniformly as far as possible -avoid macros which just hide cfdata members, and reduce dependencies on "locators.h"
Diffstat (limited to 'sys/dev/std')
-rw-r--r--sys/dev/std/ieee1212.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/std/ieee1212.c b/sys/dev/std/ieee1212.c
index e2f73c4d8d1..6b6f8f09f25 100644
--- a/sys/dev/std/ieee1212.c
+++ b/sys/dev/std/ieee1212.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee1212.c,v 1.7 2003/10/26 20:53:09 fvdl Exp $ */
+/* $NetBSD: ieee1212.c,v 1.8 2004/09/13 12:55:48 drochner Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ieee1212.c,v 1.7 2003/10/26 20:53:09 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee1212.c,v 1.8 2004/09/13 12:55:48 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1237,7 +1237,7 @@ p1212_match_units(struct device *sc, struct p1212_dir *dir,
if (udirs) {
do {
- dev = config_found_sm(sc, udirs, print, NULL);
+ dev = config_found_ia(sc, "fwnode", udirs, print);
if (dev && numdev) {
devret = realloc(devret,
sizeof(struct device *) *