From owner-freebsd-hackers@freebsd.org Sat Nov 2 15:27:41 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 1C6C91A8F35 for ; Sat, 2 Nov 2019 15:27:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) (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 4752xR6hnxz3KBJ for ; Sat, 2 Nov 2019 15:27:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x843.google.com with SMTP id t8so17235054qtc.6 for ; Sat, 02 Nov 2019 08:27:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nB3fpmNiZFD90UJGREx0kw7TrpUf6AxfCejpjSH/D30=; b=eiav6yAEJhkfQ5DLZRChpB+7eaRL61q+97/yVuCFwYXHWM1NULp4n8SqftgBRpkV+N wCFb438kL6rl5T3UFy6EuTRgn+KfkR6bsdT3yRApnLeO1qBnhKjRQqhG3qI0t3gZHl8E JC+JIgRk3kQexyjAF2bXuB7G0RLqehPr1f9hQruFTTc1k/DM0TuaAbhNCw9I694+i4Vo rgDsYTr8XhDHK6tz3b7LjqvTVWUc1DUScyNXfnSeOemHKHaz8ygz8OuzVIpPyqMTfKah d1E/DYyn9C8L4zwSMoiKRVLRrRjbcFSwqzSuSDY2Dz+4MltWwFsPRTmPtPDS4xeW2o80 Mvbg== 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:cc; bh=nB3fpmNiZFD90UJGREx0kw7TrpUf6AxfCejpjSH/D30=; b=sRVIKgQuMTBzjBPV+97jKfoDYZwGlAOIc4iiVUtxrR/kqc+EzzPVa5+iJJPJEo9thE Nljd4yYxfsPT5fGXA6Sp9vrNQHMC8kGnpuQPw6TslxhqBsQdxXbCA12b3wTlgw634HG1 TfiEU7XrA1T7dq3xqx2jDBzAvg+0kYsHa+0Ndwt0pff8UpFW38O7pZ21AFZBXEC19NF1 V2mHEWjUJe6NEqg/dT3PIIdqDqF00DoHQXhdzMn23PjSUDcSW4JkpiDWyyTqoV0c41JM vKqr5B5VX2Xjza424jyi5pmhv8zjBPxC20hzYP7U097fV46Sjn04cCi+Ys1Xhc1/wrKj Y3MA== X-Gm-Message-State: APjAAAXuXa2b5Qa5Vkj6bkmJHcD2JKI5P618Expa5dqpvkojIihRHW9F uNO9x2537IyEHRJeyvnIwQU4iLnkIeD/XZ6jn0aLQA== X-Google-Smtp-Source: APXvYqwePe8SENxZH8lLfTa8ypwIibSJsQvF+lH/9eAGEzlctPKGoSbzRRU1oKmoTBbbW2vLmtK+kZvvQN+JYgJew9M= X-Received: by 2002:a0c:c125:: with SMTP id f34mr1987238qvh.22.1572708458541; Sat, 02 Nov 2019 08:27:38 -0700 (PDT) MIME-Version: 1.0 References: <9C97A802-A542-44B3-A295-79CCF70BF8D2@webweaving.org> <20191102082641.52f64cc8@ernst.home> <20191102115705.323376cd@ernst.home> In-Reply-To: <20191102115705.323376cd@ernst.home> From: Warner Losh Date: Sat, 2 Nov 2019 09:27:26 -0600 Message-ID: Subject: Re: A bounty of 450 (was $100) for rtsx SD card reader driver. To: Gary Jennejohn Cc: Gleb Popov , Dirk-Willem van Gulik , freebsd-hackers X-Rspamd-Queue-Id: 4752xR6hnxz3KBJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=eiav6yAE; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::843) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.38 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SUBJECT_HAS_CURRENCY(1.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[3.4.8.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]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.38)[ip: (2.55), ipnet: 2607:f8b0::/32(-2.38), asn: 15169(-2.03), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 02 Nov 2019 15:27:41 -0000 On Sat, Nov 2, 2019, 4:58 AM Gary Jennejohn wrote: > On Sat, 2 Nov 2019 11:54:01 +0400 > Gleb Popov wrote: > > > On Sat, Nov 2, 2019 at 11:26 AM 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? > > > > > > > I'd be OK with CURRENT and MFH to 12 sometime. > > > > I had commit bits (src, ports) at one time (gj@), but I gave them > back several years ago. So, since you're a committer, you would > have to sheperd the code into the tree. But as a ports committer > that may not be so easy. > > > 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. > > > > > > > With that I cannot help, unfortunately. I can, however, test the code and > > help with debugging. > > > > Well, I've been developing drivers for 35 years and I can tell > you that this approach would not too very practical. But it > might work. > I agree. > 3) what is the target environment? Laptop? PCI card? Some other > > > device with an embedded controller? > > > > > > > In my case it is an ASUS notebook. > > > > I have 3 laptops but unfortunately none of them uses this > controller. > > Maybe I can find a PCIe card with the controller. Would probably > cost less than $450. > Years ago I was told they were cards, but I couldn't find any. I have started to get the proper scaffolding in place to drop the bit from openbsd that frobs the hardware. But everything about this port is an impedance mismatch. Busdma is different and the mmc host adapter interface is different. It's far from a simple drop in with minor tweaks. It's likely the reason even a few hundred hasn't help expedite porting.... especially since this is a rare part... I'd say we also need docs to make a proper go of it because that too is usually needed... Warner -- > Gary Jennejohn > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >