diff options
author | mav <mav@FreeBSD.org> | 2009-02-17 19:12:15 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-02-17 19:12:15 +0000 |
commit | bf68918fb622859f29c0c0ec667dc6378a3fd071 (patch) | |
tree | 0181c881c3d777b6ff3a4d02c3317e7be06f8f52 /sys/dev | |
parent | c4ef66ce8f2d9d62b69b1ee07bb38fc7aa231ad1 (diff) | |
download | FreeBSD-src-bf68918fb622859f29c0c0ec667dc6378a3fd071.zip FreeBSD-src-bf68918fb622859f29c0c0ec667dc6378a3fd071.tar.gz |
Add support for interruptless kernel dumping.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sdhci/sdhci.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); } |