[Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 29 06:53:06 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #131 from hlh at restart.be ---
(In reply to jyoung15 from comment #127)
Just to check if ther is a timing problem, can you try:

diff --git a/rtsx.c b/rtsx.c
index 13ce3df..6da1b1c 100644
--- a/rtsx.c
+++ b/rtsx.c
@@ -547,6 +547,7 @@ rtsx_is_card_present(struct rtsx_softc *sc)
 {
        uint32_t status;

+       DELAY(200);
        status = READ4(sc, RTSX_BIPR);
        return (status & RTSX_SD_EXIST);
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list