diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2022-01-26 07:16:31 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2022-01-26 07:31:45 +0000 |
commit | 94ff1d9cc8ffc2b88caafed35168a258f969915c (patch) | |
tree | 54af58900dc3c601d713ae8e4d4f45698bf71b05 | |
parent | e35816c1c9094804f5a4b5f7b34f920f78cff5bd (diff) |
sdhci: fix dumping support in MMCCAM configuration
This change fixes interaction with recently added sddadump.
MFC after: 1 week
-rw-r--r-- | sys/dev/sdhci/sdhci.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c index 126dd23e13fc..541310ba421c 100644 --- a/sys/dev/sdhci/sdhci.c +++ b/sys/dev/sdhci/sdhci.c @@ -2725,7 +2725,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 @@ -2887,12 +2887,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 */ |