Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch use config_found() instead of config_found_sm() if ...
details: https://anonhg.NetBSD.org/src/rev/b58458f481ff
branches: trunk
changeset: 569919:b58458f481ff
user: drochner <drochner%NetBSD.org@localhost>
date: Mon Sep 13 15:14:12 2004 +0000
description:
use config_found() instead of config_found_sm() if no submatch
function is used
diffstat:
sys/arch/acorn32/podulebus/amps.c | 6 +++---
sys/arch/amiga/dev/gayle_pcmcia.c | 6 +++---
sys/arch/evbppc/explora/dev/elb.c | 6 +++---
sys/arch/evbppc/explora/dev/fb_elb.c | 6 +++---
sys/arch/mac68k/obio/iwm_fd.c | 8 ++++----
5 files changed, 16 insertions(+), 16 deletions(-)
diffs (134 lines):
diff -r 99ac93942db8 -r b58458f481ff sys/arch/acorn32/podulebus/amps.c
--- a/sys/arch/acorn32/podulebus/amps.c Mon Sep 13 14:57:31 2004 +0000
+++ b/sys/arch/acorn32/podulebus/amps.c Mon Sep 13 15:14:12 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amps.c,v 1.9 2003/07/14 22:48:25 lukem Exp $ */
+/* $NetBSD: amps.c,v 1.10 2004/09/13 15:14:12 drochner Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amps.c,v 1.9 2003/07/14 22:48:25 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amps.c,v 1.10 2004/09/13 15:14:12 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -196,7 +196,7 @@
aa.aa_irq = pa->pa_podule->interrupt;
for (aa.aa_port = 0; aa.aa_port < MAX_AMPS_PORTS; ++aa.aa_port) {
aa.aa_base -= AMPS_PORT_SPACING;
- config_found_sm(self, &aa, amps_print, NULL);
+ config_found(self, &aa, amps_print);
}
}
diff -r 99ac93942db8 -r b58458f481ff sys/arch/amiga/dev/gayle_pcmcia.c
--- a/sys/arch/amiga/dev/gayle_pcmcia.c Mon Sep 13 14:57:31 2004 +0000
+++ b/sys/arch/amiga/dev/gayle_pcmcia.c Mon Sep 13 15:14:12 2004 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: gayle_pcmcia.c,v 1.16 2004/08/22 13:15:11 jandberg Exp $ */
+/* $NetBSD: gayle_pcmcia.c,v 1.17 2004/09/13 15:14:12 drochner Exp $ */
/* public domain */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gayle_pcmcia.c,v 1.16 2004/08/22 13:15:11 jandberg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gayle_pcmcia.c,v 1.17 2004/09/13 15:14:12 drochner Exp $");
/* PCMCIA front-end driver for A1200's and A600's. */
@@ -181,7 +181,7 @@
paa.iobase = 0;
paa.iosize = 0;
self->devs[0].card =
- config_found_sm(myself, &paa, simple_devprint, NULL);
+ config_found(myself, &paa, simple_devprint);
if (self->devs[0].card == NULL) {
printf("attach failed, config_found_sm() returned NULL\n");
return;
diff -r 99ac93942db8 -r b58458f481ff sys/arch/evbppc/explora/dev/elb.c
--- a/sys/arch/evbppc/explora/dev/elb.c Mon Sep 13 14:57:31 2004 +0000
+++ b/sys/arch/evbppc/explora/dev/elb.c Mon Sep 13 15:14:12 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elb.c,v 1.3 2003/07/25 11:44:20 scw Exp $ */
+/* $NetBSD: elb.c,v 1.4 2004/09/13 15:14:12 drochner Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: elb.c,v 1.3 2003/07/25 11:44:20 scw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: elb.c,v 1.4 2004/09/13 15:14:12 drochner Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -146,7 +146,7 @@
eaa.elb_base2 = elb_devs[i].elb_addr2;
eaa.elb_irq = elb_devs[i].elb_irq;
- (void) config_found_sm(self, &eaa, elb_print, NULL);
+ (void) config_found(self, &eaa, elb_print);
}
}
diff -r 99ac93942db8 -r b58458f481ff sys/arch/evbppc/explora/dev/fb_elb.c
--- a/sys/arch/evbppc/explora/dev/fb_elb.c Mon Sep 13 14:57:31 2004 +0000
+++ b/sys/arch/evbppc/explora/dev/fb_elb.c Mon Sep 13 15:14:12 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fb_elb.c,v 1.4 2004/01/05 16:05:14 hannken Exp $ */
+/* $NetBSD: fb_elb.c,v 1.5 2004/09/13 15:14:12 drochner Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fb_elb.c,v 1.4 2004/01/05 16:05:14 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fb_elb.c,v 1.5 2004/09/13 15:14:12 drochner Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -169,7 +169,7 @@
waa.accessops = &accessops;
waa.accesscookie = sc;
- config_found_sm(self, &waa, wsemuldisplaydevprint, NULL);
+ config_found(self, &waa, wsemuldisplaydevprint);
}
static void
diff -r 99ac93942db8 -r b58458f481ff sys/arch/mac68k/obio/iwm_fd.c
--- a/sys/arch/mac68k/obio/iwm_fd.c Mon Sep 13 14:57:31 2004 +0000
+++ b/sys/arch/mac68k/obio/iwm_fd.c Mon Sep 13 15:14:12 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iwm_fd.c,v 1.25 2003/10/27 22:16:04 fredb Exp $ */
+/* $NetBSD: iwm_fd.c,v 1.26 2004/09/13 15:17:44 drochner Exp $ */
/*
* Copyright (c) 1997, 1998 Hauke Fath. All rights reserved.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iwm_fd.c,v 1.25 2003/10/27 22:16:04 fredb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iwm_fd.c,v 1.26 2004/09/13 15:17:44 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -337,8 +337,8 @@
iwm->fd[ia.unit] = NULL;
ia.driveType = getFDType(ia.unit);
if (NULL != ia.driveType)
- config_found_sm(self, (void *)&ia,
- fd_print, NULL);
+ config_found(self, (void *)&ia,
+ fd_print);
}
if (TRACE_CONFIG)
printf("iwm: Initialization completed.\n");
Home |
Main Index |
Thread Index |
Old Index