diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2009-02-17 19:12:15 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2009-02-17 19:12:15 +0000 |
| commit | bea2dca29950a74bdd6823d8f44cfe63a21ffd7a (patch) | |
| tree | 0181c881c3d777b6ff3a4d02c3317e7be06f8f52 /sys/dev/sdhci | |
| parent | 09a278e14d95c68c162056add0f558c4156b3aa3 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sdhci')
| -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 c41866f7bc72..9b406fb2bd53 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); } |
