From owner-freebsd-hackers@freebsd.org Mon Nov 11 16:25:51 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C17381B8FFE for ; Mon, 11 Nov 2019 16:25:51 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47BbpQ5HNhz4Lsd for ; Mon, 11 Nov 2019 16:25:50 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm1-x341.google.com with SMTP id b11so13955480wmb.5 for ; Mon, 11 Nov 2019 08:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=uRPPrLRXqZSYKsk5IInNDAIYLepMn4jw2qzfYv2qc3A=; b=Lh3e3VAboFOm15v2xNXoyptPkero8JMkbybeLYCopmhFpwFYa9SoXMjEA692hxx5FC AjKNia2VA79tAFSStoN7CUzKP1cYrFHeFLryShFAgecHV43gICMfiBLV9EktdgWW22Hk 4VJTDt1NHufv1hzTb9hdCsCacTLtV1f6HNINie65M31xy3qcADuL9k6qzHEZCzARMbKz 0qYchqXvUI0+jRy7qR9AcTkpPktmaXUVWi7cqtycr3c2175wxp0qkjIRsXzAuDosIKB5 XDR8bRtZ7m4lP2DQXUzErWFi2CH8te5/ZB6RRuM2pNQaTpql0Lfd+zj3J9M84TJH2dNX VYSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=uRPPrLRXqZSYKsk5IInNDAIYLepMn4jw2qzfYv2qc3A=; b=O9ac/Wa9VqPmwT9C2iMugztcmT825LdS4aRCsnbHy9qq3QS+Nj9hv9LsX2IMwsm/m9 dnUM8HHY0ACMrtNoBvLKtUbWQPrEhoy7j4l8X+Kq3bdlTanYxPYMzv/QCqkMVcJNPNEe W8TXdwK7AJ24/hgcTvaC2OO5+MpAXhX4Nox1qAC6XkdLgs5VLY6IQ+nR1z3L4facbOgN d5TFatMIPR8yaC2XoEhOmccf168Rdabg3aGJ1ywarW0lZftephA0TmsVRCcF5Rm5lc7B yz5T5FAI1d/SBAllHpvPKyZFRxKwZ4xq83wf3aVdYJQdMaSLi3Gx+a3+dsD/dRhlFANa mUZg== X-Gm-Message-State: APjAAAXWNingUlT3eQnO4qF5zeCRi0r3WY5RRiDd/PMx+fhJnZGlo+HC iHNvJM4yJUdohR9QzOR6Ca8l5F3/ X-Google-Smtp-Source: APXvYqwnz9ABDuDO8UK8TNLPvHkJ6LFo04n/+l6hyRtAvXyflXwsaa7dHwjsWtR8HqPVX85yt1I5VQ== X-Received: by 2002:a1c:410a:: with SMTP id o10mr21268088wma.117.1573489548258; Mon, 11 Nov 2019 08:25:48 -0800 (PST) Received: from ernst.home (pD9E23368.dip0.t-ipconnect.de. [217.226.51.104]) by smtp.gmail.com with ESMTPSA id p14sm18191146wrq.72.2019.11.11.08.25.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2019 08:25:47 -0800 (PST) Date: Mon, 11 Nov 2019 17:25:43 +0100 From: Gary Jennejohn To: freebsd-hackers Subject: Re: A bounty of 450 (was $100) for rtsx SD card reader driver. Message-ID: <20191111172543.74f95d07@ernst.home> In-Reply-To: <20191102082641.52f64cc8@ernst.home> References: <9C97A802-A542-44B3-A295-79CCF70BF8D2@webweaving.org> <20191102082641.52f64cc8@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47BbpQ5HNhz4Lsd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Lh3e3VAb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::341 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; SUBJECT_HAS_CURRENCY(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; IP_SCORE(0.00)[ip: (2.94), ipnet: 2a00:1450::/32(-2.75), asn: 15169(-2.00), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[104.51.226.217.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; FREEMAIL_REPLYTO(0.00)[gmail.com]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[1.4.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 16:25:51 -0000 On Sat, 2 Nov 2019 08:26:41 +0100 Gary Jennejohn wrote: > On Fri, 1 Nov 2019 12:00:01 +0100 > Dirk-Willem van Gulik wrote: > > > On 1 Nov 2019, at 11:48, Gleb Popov wrote: > > > On Wed, Jun 19, 2019 at 10:22 AM Gleb Popov wrote: > > > > >> I've posted a bounty for this bug: > > >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521 > > > > > > In case anyone is interested, the bounty is $375 already. > > > > It is 450$ now. > > > > This raises several questions: > 1) which version(s) of FreeBSD? > 2) how does a developer get his/her hands on a device which uses this > controller? It is not reasonable to expect a developer will to buy a > laptop or PCI card just to develop a driver. > 3) what is the target environment? Laptop? PCI card? Some other > device with an embedded controller? > So, thanks to the generosity of a FreeBSD user I now have a laptop on loan with one of the Realtek SD card reader controllers. I started working on porting the NetBSD code (basically the same as the OpenBSD code), but the FreeBSD bus and mmc code is radically different, so it will take quite a while to get a working driver. So far only the pci bus probe code works, but that's a start. -- Gary Jennejohn