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

--- Comment #170 from Henri Hennebert <[email protected]> ---
(In reply to Sergey V. Dyatko from comment #169)

Maybe you are hit by the same problem than [email protected] (comment 127)

add this patch

diff --git a/rtsx.c b/rtsx.c
index eeec3ae..de61465 100644
--- a/rtsx.c
+++ b/rtsx.c
@@ -559,7 +559,7 @@ rtsx_is_card_present(struct rtsx_softc *sc)
        uint32_t status;

        status = READ4(sc, RTSX_BIPR);
-       return (status & RTSX_SD_EXIST);
+       return !(status & RTSX_SD_EXIST);
 }

 static int

an try again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to