Date: Tue, 17 Feb 2009 19:12:15 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188724 - head/sys/dev/sdhci Message-ID: <200902171912.n1HJCFW0024706@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Feb 17 19:12:15 2009 New Revision: 188724 URL: http://svn.freebsd.org/changeset/base/188724 Log: Add support for interruptless kernel dumping. Modified: head/sys/dev/sdhci/sdhci.c Modified: head/sys/dev/sdhci/sdhci.c ============================================================================== --- head/sys/dev/sdhci/sdhci.c Tue Feb 17 18:24:58 2009 (r188723) +++ head/sys/dev/sdhci/sdhci.c Tue Feb 17 19:12:15 2009 (r188724) @@ -1187,6 +1187,12 @@ sdhci_request(device_t brdev, device_t r slot->flags = 0; sdhci_start(slot); SDHCI_UNLOCK(slot); + if (dumping) { + while (slot->req != NULL) { + sdhci_intr(slot->sc); + DELAY(10); + } + } return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902171912.n1HJCFW0024706>