Date: Sat, 6 Dec 2008 21:41:27 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/mmc mmc.c mmcsd.c Message-ID: <200812062141.mB6LfUvg017802@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812062141.mB6LfUvg017802>
