From owner-freebsd-hackers@freebsd.org Mon Dec 9 19:27:10 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 ABDF51DD7CB for ; Mon, 9 Dec 2019 19:27:10 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) (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 47WtVg4jnVz3ysf for ; Mon, 9 Dec 2019 19:27:07 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-il1-x144.google.com with SMTP id z90so13768375ilc.8 for ; Mon, 09 Dec 2019 11:27:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=gM8w24lw6SqL1nck2qjE/4je/Ku7OQyUR5igHQ2CRGk=; b=AwSvCNsgmHxHNr/u9clH2wRA9/CvU2DCI19CeO+CjU1/wW8DloYpNlXiqBz1zXyHo3 4Cq0umUPmqNCq5V6Uu6gWs679lntWKfqTL4x/uzsyhVJ02BdC/c93C6WIaFenOwRH/yx sLq/mWh4MnjZM1Tkpx0AqHkvLvOc7o27bxu1Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gM8w24lw6SqL1nck2qjE/4je/Ku7OQyUR5igHQ2CRGk=; b=ZkwsoGKw1rea6A1DIcZpP/BDiUG4JWUIeI8Xytk9isLgFHNAtVpiLX3GU9SR6m55Ve pXN+zdhNNBhwXBcx2t6Yr996Z49U0egOtls44wvrDMk9ER2CAaJ/Yu+/BtopCxT76kat j8CVbxn7oDYiJID4DoCry9sZ432A8+mzmUu1ewlyZ42Fr6u0ML8i0rOkqGKAyX5kYg+8 aP6KXwqjDb5lI5Q455Fa1pk4DfagvcbDSxOeWeeVHsdLH5j08/UOUIMm9EacyJpGixwp vYJSiubaXP+koG3XV7MJuKb+XtTF73zH75SE7zWUoU4WhxDAlrsXdhuezP5aqg3SZHMn BqwQ== X-Gm-Message-State: APjAAAWH//8AwwTeSf9B1/X7RM1aCkYI9LeiDIajG4DVyQoNPAs9uL+3 AXYOFY2q82xAnllt/q7d+LXiam/31GBW4dcLpPolrqgw X-Google-Smtp-Source: APXvYqykp7NvV6tOHzfptKgAEm0e0Z9jecQ4ZEJ2bvsbk+AxbO/Zunc3yOEJ2TNq77nnA8kVeNkfmMHwWHsMdMYGDd0= X-Received: by 2002:a92:860f:: with SMTP id g15mr29036092ild.297.1575919626101; Mon, 09 Dec 2019 11:27:06 -0800 (PST) MIME-Version: 1.0 References: <9C97A802-A542-44B3-A295-79CCF70BF8D2@webweaving.org> <20191102082641.52f64cc8@ernst.home> <20191111172543.74f95d07@ernst.home> <20191119153152.26a725cf@ernst.home> In-Reply-To: <20191119153152.26a725cf@ernst.home> From: Mario Lobo Date: Mon, 9 Dec 2019 16:24:45 -0300 Message-ID: Subject: Re: A bounty of 450 (was $100) for rtsx SD card reader driver. To: freebsd-hackers X-Rspamd-Queue-Id: 47WtVg4jnVz3ysf X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=AwSvCNsg; dmarc=none; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::144 as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-2.02 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SUBJECT_HAS_CURRENCY(1.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[bsd.com.br]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsd.com.br:+]; RCVD_IN_DNSWL_NONE(0.00)[4.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.52)[ip: (1.59), ipnet: 2607:f8b0::/32(-2.22), asn: 15169(-1.92), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 09 Dec 2019 19:27:10 -0000 On Tue, Nov 19, 2019 at 11:31 AM Gary Jennejohn wrote: > On Tue, 19 Nov 2019 11:02:43 -0300 > Mario Lobo wrote: > > > On Mon, Nov 11, 2019 at 1:26 PM Gary Jennejohn > wrote: > > > > > 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. > > > > > > > I Have an Acer with this chip and FBSD 11-3 stable to test this on. > > > > Thanks, but the port is being done in FreeBSD13. It might be > backported to 11/12, but at the moment that is not guaranteed. > Depends on how much the bus, pci and mmc code varies. I > haven't looked at the code in older versions. > > -- > Gary Jennejohn > Whenever the code is done, please let us know. I'll take a look and see what I can do for 11-STABLE. Thanks, Gary! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]