From bf68918fb622859f29c0c0ec667dc6378a3fd071 Mon Sep 17 00:00:00 2001 From: mav Date: Tue, 17 Feb 2009 19:12:15 +0000 Subject: Add support for interruptless kernel dumping. --- sys/dev/sdhci/sdhci.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/dev/sdhci/sdhci.c') diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c index c41866f..9b406fb 100644 --- a/sys/dev/sdhci/sdhci.c +++ b/sys/dev/sdhci/sdhci.c @@ -1187,6 +1187,12 @@ sdhci_request(device_t brdev, device_t reqdev, struct mmc_request *req) slot->flags = 0; sdhci_start(slot); SDHCI_UNLOCK(slot); + if (dumping) { + while (slot->req != NULL) { + sdhci_intr(slot->sc); + DELAY(10); + } + } return (0); } -- cgit v1.1