From owner-cvs-src-old@FreeBSD.ORG Sat Dec 6 21:41:30 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1F7C1065672 for ; Sat, 6 Dec 2008 21:41:30 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ADD448FC14 for ; Sat, 6 Dec 2008 21:41:30 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mB6LfUkA017803 for ; Sat, 6 Dec 2008 21:41:30 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mB6LfUvg017802 for cvs-src-old@freebsd.org; Sat, 6 Dec 2008 21:41:30 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <200812062141.mB6LfUvg017802@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Sat, 6 Dec 2008 21:41:27 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/mmc mmc.c mmcsd.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2008 21:41:30 -0000 mav 2008-12-06 21:41:27 UTC FreeBSD src repository Modified files: sys/dev/mmc mmc.c mmcsd.c Log: SVN rev 185721 on 2008-12-06 21:41:27Z by mav Implement suspend/resume for mmc and mmcsd drivers. Now it is possible to suspend/resume with inserted and active card. To reinitialize card on resume and to detect card change while suspended, implement bus rescan routines. It can also be used by controllers without card presence detection signals or with multiple cards per slot support. While there, cleanup msleep() usage. We have no any rights to exit without "request done" signal from driver as it could lead to modify after free. Revision Changes Path 1.28 +113 -54 src/sys/dev/mmc/mmc.c 1.19 +51 -12 src/sys/dev/mmc/mmcsd.c