From owner-freebsd-current@FreeBSD.ORG Thu Mar 17 09:06:46 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA013106564A; Thu, 17 Mar 2011 09:06:46 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3069D8FC15; Thu, 17 Mar 2011 09:06:45 +0000 (UTC) Received: by fxm11 with SMTP id 11so2851154fxm.13 for ; Thu, 17 Mar 2011 02:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=LgCKcMg7hkr/6OsrOry8Lzy2aN5I7p14IK0mkTaPJS8=; b=jeRXW72CqnpkH6fmCyNhaM2jKnjiWNLwocW+cvHKP4CDFXPmNx3lPDNcy7dKFKmBDX I2u9N421PMA4FSnP+eMJFe5Jd+fyjnVZ1JBI/EDYgWoerYRxa3Uiy/FTmNhkUnGRZ9q6 TyyUyUrE0PUaTvZez6jYaxaEeXRctTGOOm1PM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=d0wnQFQRl9tadgnCrMpdOLyw/LnL6Kt6sj30+VMz0zwo5OpFWUl6gHaVGvjk058aTi gzEJwnzajIVoNLhMJIzLmeLLhHXAyE55hwcsRFO8om4lwa9Oa7NDuGEPoXumbxS6vPo6 dPOqmeGrPBb2YOHc+/EjKCjRdVNwon51XoTZU= Received: by 10.223.16.148 with SMTP id o20mr1131226faa.149.1300352805077; Thu, 17 Mar 2011 02:06:45 -0700 (PDT) Received: from localhost (minsk.agava.net [212.98.174.157]) by mx.google.com with ESMTPS id n7sm793478fam.35.2011.03.17.02.06.43 (version=SSLv3 cipher=OTHER); Thu, 17 Mar 2011 02:06:44 -0700 (PDT) Date: Thu, 17 Mar 2011 11:07:00 +0200 From: "Sergey V. Dyatko" To: Adrian Chadd Message-ID: <20110317110700.05191e8f@gmail.com> In-Reply-To: References: <20110314162936.d3f8fd5b.ray@dlink.ua> <4D80EE33.7010703@janh.de> <20110317100804.2dde85ba@gmail.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Jan Henrik Sylvester , Aleksandr Rybalko , current-list freebsd Subject: Re: [CFR]RT305xF support, w/o attachment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2011 09:06:46 -0000 On Thu, 17 Mar 2011 16:57:49 +0800 Adrian Chadd wrote: > Cool! You've just volunteered to help Aleksandr at least get the > driver compiling, probing and attaching. :) > > I'll review and commit something to head when you have it somewhat > working, ok? :) > sure, cause I tired look at panics after `kldload rt2860_sys` (ndis) ~3 of 4 times :-) For example: http://tiger.ipfw.ru/files/core_1.txt > > Adrian > (Cool, I can get back to fixing if_ath issues.) > > > On 17 March 2011 16:08, Sergey V. Dyatko > wrote: > > > On Thu, 17 Mar 2011 15:45:26 +0800 > > Adrian Chadd wrote: > > > > > Is someone able to help me hunt down a mini-PCIe ralink card? > > > > > > I'd like to help Aleksandr include his SoC MIPS stuff to FreeBSD > > > and as part of that I'd like to try and make this wireless driver > > > work on supported PCI/PCIe cards. But I completely lack the > > > hardware to do so, and I lack the time to hunt down hardware (and > > > money to buy another EEEPC just to do it.) > > > > > > Thanks, > > > > > > > Hi, I have rt3090 on my laptop (running HEAD, i386) and I can > > take part in testing > > > > none1@pci0:3:0:0: class=0x028000 card=0x30901814 > > chip=0x30901814 rev=0x00 hdr=0x00 > > vendor = 'Ralink Technology, Corp.' > > class = network > > > > > > > adrian > > > > > > On 17 March 2011 01:06, Jan Henrik Sylvester 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?) > > > > > > > > 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: > > > > @/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). > > > > > > > > Cheers, > > > > Jan Henrik > > > > > > -- > > wbr, tiger > > -- wbr, tiger