Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2012 19:04:42 -0700
From:      matt <sendtomatt@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Please Test: Updated Ral Driver Patch for rt2860/rt3090
Message-ID:  <4F5D59BA.9010907@gmail.com>
In-Reply-To: <CAJ-VmokWdXCZL01UfOE7uo8dezLGaLcfCdnBCqGWtM5itxrP=A@mail.gmail.com>
References:  <CA%2BCYCL-d1hCzQK48EzPjgRu3UFO9EWMn-O%2B3V8%2B9cNrQE2s%2ByQ@mail.gmail.com> <4F41DDE8.6060004@gmail.com> <CAJ-VmonaRy0HyaoborYg=CEbAwKGHXZooi8k5qC8781Pe7591A@mail.gmail.com> <4F48166A.5040301@gmail.com> <CAJ-VmomQiwjH-nDmWJA=pg-gcgV9Djf0eCM940UvaXW_g030XQ@mail.gmail.com> <CA%2BCYCL-6=03MvCCKq4z5aePqLPWzjAQZmHAKDXwNA8f5Gawu7A@mail.gmail.com> <4F4828C0.6020705@gmail.com> <CA%2BCYCL_o=mDA-P66nTdPR65=MwML4FghxRpNzowDE-eXNWmD6g@mail.gmail.com> <4F5A8023.1090705@gmail.com> <CAJ-Vmonu4SUVOdfbTdAnmGfQ=T-PtcAbd-PCoQ0PV_ttwF5Scw@mail.gmail.com> <4F5AC7CF.3090409@gmail.com> <4F5C0C86.7040503@gmail.com> <4F5C24ED.3090601@gmail.com> <4F5CD920.2000905@gmail.com> <4F5D0876.5040409@gmail.com> <4F5D14E0.3050301@gmail.com> <CAJ-Vmo=jJmwY=bTVaKFYTd--1E9vzwgn54VMJyY82bc9pSWcBg@mail.gmail.com> <20120312001625.4d9b3b52.ray@ddteam.net> <CAJ-VmondMGQzw91UyDx3-3%2BmqLOXLMncn-pvUR6NQm-YwhPsgg@mail.gmail.com> <4F5D5091.6050807@gmail.com> <CAJ-VmokWdXCZL01UfOE7uo8dezLGaLcfCdnBCqGWtM5itxrP=A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/11/12 18:35, Adrian Chadd wrote:
> Matt, would you mind looking at what's in zrouter?
>
> ray, please create a diff?
>
> thanks,
>
>
>
>
> adrian
>
> On 11 March 2012 18:25, matt<sendtomatt@gmail.com>  wrote:
>> On 03/11/12 17:26, Adrian Chadd wrote:
>>> Hiya,
>>>
>>> Remember how I said that you should submit things to commit to freebsd?
>>> :-)
>>>
>>> Let's not leave it living in the zrouter tree; let's get it into
>>> FreeBSD-HEAD.
>>>
>>> So please, do up a diff against -HEAD of your ralink driver changes
>>> and lets get _something_ ASAP into the tree.
>>>
>>> Sheesh.. :-)
>>>
>>>
>>> adrian
>>> _______________________________________________
>>> freebsd-wireless@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>>> To unsubscribe, send any mail to
>>> "freebsd-wireless-unsubscribe@freebsd.org"
>>>
>> If you have a better one Aleksandr let's do it...I unearthed my old diff
>> because there was still no support.
>>
>> Fundamentally, I agree with keeping things similar to OpenBSD. If the work
>> is already done we should do that.
>>
>> In the mean time, if we don't have such a thing, we have something this
>> way...I'm really just learning wireless kernel dev.
>> I don't really have an "attachment" to this particular version, other than
>> it worked for me and if it helped others :)
>> I do feel that perhaps being synchronized with the current OpenBSD makes
>> sense, but that it will be a while before I personally can figure out all
>> the steps in porting their current code.
>> Most is similar, but there are significant differences.
>>
>> Thanks!
>>
>> Matt
>>
I think I misread...Alexsandr, you're saying you're using "rt2860" 
driver in Zrouter tree, but with 3090 modifications? I think I read that 
*(somehow) as you had something closer to OpenBSD's ral.

So does yours attach as a ral? or as an rt2860?....Originally I just 
took rt2860 and adapted it's softc and both drivers attach so that it 
would be one driver. I merged a lot of the code into one file, which in 
retrospect has the advantage of being more similar to OpenBSD, but the 
disadvantage of size! My original goal was to be able to do side-by-side 
comparison with OpenBSD's ral and get them "similar". The rt2860 I used 
had 3090 adaptations, as that's the only card I have to test with.

If you have a more up to date version of rt2860, and it's attaching as 
rt2860...it would be trivial to use the softc & if_ral_pci.c I have to 
make them all "ral" instead of rt2860 & ral.
If it's already attaching as ral, then you would have the same thing I 
have, albeit perhaps with a newer code base?

Sorry for my confusion...is the zrouter tree the same as the hg repo on 
zrouter.org?

Thanks!

Matt





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5D59BA.9010907>