Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2020 06:53:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD
Message-ID:  <bug-204521-227-1AOh7m88co@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204521-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204521-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204521

--- Comment #131 from hlh@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 =3D READ4(sc, RTSX_BIPR);
        return (status & RTSX_SD_EXIST);
 }

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204521-227-1AOh7m88co>