Date: Mon, 08 Jun 2020 14:07:07 +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-NIOjemCT2s@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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521 --- Comment #170 from Henri Hennebert <hlh@restart.be> --- (In reply to Sergey V. Dyatko from comment #169) Maybe you are hit by the same problem than jyoung15@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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204521-227-NIOjemCT2s>
