Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/mca There is no point in using config_found_sm() if ...



details:   https://anonhg.NetBSD.org/src/rev/ea885c20e15a
branches:  trunk
changeset: 569708:ea885c20e15a
user:      drochner <drochner%NetBSD.org@localhost>
date:      Mon Aug 30 18:28:33 2004 +0000

description:
There is no point in using config_found_sm() if there is no submatch function.
(actually, there should be one...)

diffstat:

 sys/dev/mca/edc_mca.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 77f7bbb8a12d -r ea885c20e15a sys/dev/mca/edc_mca.c
--- a/sys/dev/mca/edc_mca.c     Mon Aug 30 18:27:21 2004 +0000
+++ b/sys/dev/mca/edc_mca.c     Mon Aug 30 18:28:33 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: edc_mca.c,v 1.23 2003/11/10 08:51:52 wiz Exp $ */
+/*     $NetBSD: edc_mca.c,v 1.24 2004/08/30 18:28:33 drochner Exp $    */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: edc_mca.c,v 1.23 2003/11/10 08:51:52 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: edc_mca.c,v 1.24 2004/08/30 18:28:33 drochner Exp $");
 
 #include "rnd.h"
 
@@ -307,7 +307,7 @@
        for(devno=0; devno < sc->sc_maxdevs; devno++) {
                eda.edc_drive = devno;
                sc->sc_ed[devno] =
-                       (void *) config_found_sm(self, &eda, NULL, NULL);
+                       (void *) config_found(self, &eda, NULL);
 
                /* If initialization did not succeed, NULL the pointer. */
                if (sc->sc_ed[devno]



Home | Main Index | Thread Index | Old Index