aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2022-01-26 07:16:31 +0000
committerAndriy Gapon <avg@FreeBSD.org>2022-02-02 06:51:13 +0000
commit8934d3e7b9b9005150f39b9d0679821890009cf0 (patch)
tree095aecd9aca7aec1e22a571763f1cc199d997d1c
parent2faefc48c7de9b54abb051de0e198c6860a20386 (diff)
downloadsrc-8934d3e7b9b9.tar.gz
src-8934d3e7b9b9.zip
sdhci: fix dumping support in MMCCAM configuration
This change fixes interaction with recently added sddadump. (cherry picked from commit 94ff1d9cc8ffc2b88caafed35168a258f969915c)
-rw-r--r--sys/dev/sdhci/sdhci.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c
index 0441320d4b35..33a34b28b44d 100644
--- a/sys/dev/sdhci/sdhci.c
+++ b/sys/dev/sdhci/sdhci.c
@@ -2608,7 +2608,7 @@ sdhci_cam_action(struct cam_sim *sim, union ccb *ccb)
void
sdhci_cam_poll(struct cam_sim *sim)
{
- return;
+ sdhci_generic_intr(cam_sim_softc(sim));
}
static int
@@ -2769,12 +2769,6 @@ sdhci_cam_request(struct sdhci_slot *slot, union ccb *ccb)
slot->flags = 0;
sdhci_start(slot);
SDHCI_UNLOCK(slot);
- if (dumping) {
- while (slot->ccb != NULL) {
- sdhci_generic_intr(slot);
- DELAY(10);
- }
- }
return (0);
}
#endif /* MMCCAM */