[Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 8 14:07:19 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521
--- Comment #170 from Henri Hennebert <hlh at restart.be> ---
(In reply to Sergey V. Dyatko from comment #169)
Maybe you are hit by the same problem than jyoung15 at gmail.com (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.
More information about the freebsd-bugs
mailing list