Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2006 21:04:43 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 107122 for review
Message-ID:  <200610022104.k92L4h5Y098327@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107122

Change 107122 by imp@imp_lighthouse on 2006/10/02 21:03:43

	Fix botched done call.

Affected files ...

.. //depot/projects/arm/src/sys/arm/at91/at91_mci.c#15 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/at91/at91_mci.c#15 (text+ko) ====

@@ -348,7 +348,7 @@
 		WR4(sc, MCI_IER, MCI_SR_ERROR | MCI_SR_CMDRDY);
 		return;
 	}
-//	panic();
+	panic("WRITE THE DATA HANDLER");
 }
 
 static void
@@ -371,7 +371,7 @@
 	/* We must be done -- bad idea to do this while locked? */
 	sc->req = NULL;
 	sc->curcmd = NULL;
-	req->done(req->done_data);
+	req->done(req);
 }
 
 static int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610022104.k92L4h5Y098327>