svn commit: r188724 - head/sys/dev/sdhci

Alexander Motin mav at FreeBSD.org
Tue Feb 17 11:12:22 PST 2009


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);
 }
 


More information about the svn-src-all mailing list