Re: [CFR]RT305xF support, w/o attachment

From: Aleksandr Rybalko <ray_at_dlink.ua>
Date: Thu, 17 Mar 2011 13:26:16 +0200
Hi again!

On Wed, 16 Mar 2011 20:44:05 +0200
Aleksandr Rybalko <ray_at_ddteam.net> wrote:

>> Hi,
>> 
>> On Wed, 16 Mar 2011 18:06:59 +0100
>> Jan Henrik Sylvester <me_at_janh.de> wrote:
>> 
>> > Hello!
>> > 
>> > On 01/-10/-28163 20:59, Aleksandr Rybalko wrote:
>> > > 3. RT2860 802.11n controller authors Damien Bergamini and Alexander
>> > > Egorenkov http://my.ddteam.net/files/2011-03-14_rt2860.patch
>> > > 	only modification to work with RT2872 (embedded to RT305[02]
>> > > F) wrote by me.
>> > 
>> > Is this supposed to work on its own bringing support for Ralink 2860
>> > to FreeBSD? (The one in the Asus EeePC 901/1000H according to 
>> > http://wiki.freebsd.org/AsusEee .)
>> > 
>> > > Remaining issues:
>> > > 	RT2860 support only Open(no crypto) mode for RT305[02]F
>> > 
>> > Does this mean WPA should work for RT2860? (Just not for the chips
>> > you added support for?)
>> 
>> As I know this driver support WPA, but best place to read/ask about
>> this on this thread http://forums.freebsd.org/showthread.php?t=7010
>> 
>> > 
>> > If this is supposed to bring RT2860 support to FreeBSD in general:
>> > 
>> > - Should it work on amd64 and i386?
>> > - Should it work on 8.2-RELEASE?
>> > - Should it work as a module?
>> > 
>> > In case this is all supposed to work: I tried to create a module on 
>> > 8.2-RELEASE/amd64 by adding a simple sys/modules/rt2860/Makefile (as
>> > I did not want to modify my stock 8.2-RELEASE kernel). I only got to:
>> > 
>> > In file included from 
>> > /usr/src/sys/modules/rt2860/../../dev/rt2860/rt2860.c:19:
>> > _at_/dev/rt2860/rt2860_softc.h:52:24: error: opt_rt2860.h: No such file
>> > or directory
>> > 
>> > I do not find opt_rt2860.h anywhere in your patches. Assuming it was 
>> > optional, I have commented it out only to get to:
>> > 
>> > cc1: warnings being treated as errors
>> > /usr/src/sys/modules/rt2860/../../dev/rt2860/rt2860_pci.c:63:
>> > warning: 'rt2860_pci_detach' declared 'static' but never defined
>> > 
>> > Probably, I am doing something unsupported here (especially as there
>> > is no if_rt2860_pci.c, which I would expect).
>> 
>> No, it's me. Too much data, so I a little confused here.
>> Patch targeting to start support RT3052F/RT3050F System on Chip.
>> Which main part for embedded systems like routers, AP etc.
>> 
>> To get it compiled need remove 'rt2860_pci_detach' declaration,
>> because pci and obio interfaces have same detach device methods
>> (rt2860_detach in rt2860.c)
>> 
>> And opt_rt2860.h must be defined in sys/conf/options
>> <code>
>> # options for the Ralink RT286x driver (rt2860)
>> RT2860_DEBUG            opt_rt2860.h
>> </code>
>> 
>> > 
>> > Cheers,
>> > Jan Henrik
>> 
>> I will remake patch tomorrow.

Fixed patch here http://my.ddteam.net/files/2011-03-17_rt2860.patch

>> 
>> Thanks for your report and questions?
>> 
>> -- 
>> Aleksandr Rybalko <ray_at_ddteam.net>

Many thanks for help.

-- 
Alexandr Rybalko <ray_at_dlink.ua> 
aka Alex RAY <ray_at_ddteam.net>
Received on Thu Mar 17 2011 - 10:26:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC