Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2019 09:27:26 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Gary Jennejohn <gljennjohn@gmail.com>
Cc:        Gleb Popov <arrowd@freebsd.org>, Dirk-Willem van Gulik <dirkx@webweaving.org>,  freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: A bounty of 450 (was $100) for rtsx SD card reader driver.
Message-ID:  <CANCZdfoh01ZiD15ySW9c4xfF470-arLe=UPA%2BvAfHTpcPUKvgw@mail.gmail.com>
In-Reply-To: <20191102115705.323376cd@ernst.home>
References:  <CALH631k4gefPshr1nJM213FwfP0QgQhZ=s1U32ejMLSW42e3qw@mail.gmail.com> <CALH631=8tSCfHcT3Fhu7gC9LSx-pA1M57Ae=NPuaRRhAp1zZdA@mail.gmail.com> <9C97A802-A542-44B3-A295-79CCF70BF8D2@webweaving.org> <20191102082641.52f64cc8@ernst.home> <CALH631==Fgwvhq-B_vWXByNd4TUaW8Fh6Y=t=Lb9ML5%2BLGTt2Q@mail.gmail.com> <20191102115705.323376cd@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 2, 2019, 4:58 AM Gary Jennejohn <gljennjohn@gmail.com> wrote:

> On Sat, 2 Nov 2019 11:54:01 +0400
> Gleb Popov <arrowd@freebsd.org> wrote:
>
> > On Sat, Nov 2, 2019 at 11:26 AM Gary Jennejohn <gljennjohn@gmail.com>
> wrote:
> >
> > > On Fri, 1 Nov 2019 12:00:01 +0100
> > > Dirk-Willem van Gulik <dirkx@webweaving.org> wrote:
> > >
> > > > On 1 Nov 2019, at 11:48, Gleb Popov <arrowd@freebsd.org> wrote:
> > > > > On Wed, Jun 19, 2019 at 10:22 AM Gleb Popov <arrowd@freebsd.org>
> > > 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoh01ZiD15ySW9c4xfF470-arLe=UPA%2BvAfHTpcPUKvgw>