Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2o actually pass the locators,



details:   https://anonhg.NetBSD.org/src/rev/efcb09686fe3
branches:  trunk
changeset: 569981:efcb09686fe3
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Sep 15 09:10:42 2004 +0000

description:
actually pass the locators,
should fix panic reported by Shin'ichiro TAYA

diffstat:

 sys/dev/i2o/iop.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r e318f2299164 -r efcb09686fe3 sys/dev/i2o/iop.c
--- a/sys/dev/i2o/iop.c Wed Sep 15 09:01:53 2004 +0000
+++ b/sys/dev/i2o/iop.c Wed Sep 15 09:10:42 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iop.c,v 1.44 2004/09/13 12:55:47 drochner Exp $        */
+/*     $NetBSD: iop.c,v 1.45 2004/09/15 09:10:42 drochner Exp $        */
 
 /*-
  * Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.44 2004/09/13 12:55:47 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.45 2004/09/15 09:10:42 drochner Exp $");
 
 #include "opt_i2o.h"
 #include "iop.h"
@@ -593,7 +593,7 @@
        ia.ia_tid = I2O_TID_IOP;
        ldesc->len = 1;
        ldesc->locs[IOPCF_TID] = I2O_TID_IOP;
-       config_found_sm_loc(self, "iop", NULL, &ia, iop_print, iop_submatch);
+       config_found_sm_loc(self, "iop", ldesc, &ia, iop_print, iop_submatch);
 
        /*
         * Start device configuration.
@@ -844,7 +844,7 @@
                ldesc->len = 1;
                ldesc->locs[IOPCF_TID] = ii->ii_tid;
 
-               dv = config_found_sm_loc(&sc->sc_dv, "iop", NULL, &ia,
+               dv = config_found_sm_loc(&sc->sc_dv, "iop", ldesc, &ia,
                                         iop_print, iop_submatch);
                if (dv != NULL) {
                        sc->sc_tidmap[i].it_flags |= IT_CONFIGURED;



Home | Main Index | Thread Index | Old Index