From owner-freebsd-wireless@FreeBSD.ORG Tue Jun 7 01:26:14 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DEDE106566B for ; Tue, 7 Jun 2011 01:26:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id BA7EE8FC17 for ; Tue, 7 Jun 2011 01:26:13 +0000 (UTC) Received: by gxk28 with SMTP id 28so2574958gxk.13 for ; Mon, 06 Jun 2011 18:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=3s6fHlRjsH5wLWy1tFOmY2sNGsrj+VvzyqEV0e4xkjA=; b=cI0wD2KFk69tOp5IwxaMq1J3PneMuLDXoMvz+lKDozBc18ks3QRfYTUX/yXb/4wX3E E8JTmbTqHNzZ2mrAG27FcSWdxn3Ln9ZiwRL5lYuCN469GCfQbOQHb9ukD6excyOzggCP kEU8Ps0+gnZkKk+c+K1CS1+QHyFb6VRpNro6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=tregYVAIV4OCsfqFS1PvgtWztTj7z/tStAfWzOQDM5Egxcc2DtupKtgCRIZ5rA+pMk op7VuNJSpOG8X7F9c47A8k3zHuN0Yy/xVUBnHeNu5yWpVOWAExJJKfHEpKOMaeqSb95I WeakBAGbPPuKANGcE49/ZlxqGuAceTm2iZAV0= MIME-Version: 1.0 Received: by 10.150.163.17 with SMTP id l17mr1092808ybe.71.1307409972985; Mon, 06 Jun 2011 18:26:12 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.107.15 with HTTP; Mon, 6 Jun 2011 18:26:12 -0700 (PDT) In-Reply-To: <4DED769A.6040405@gmail.com> References: <4DD365A2.3090106@gmail.com> <20110518100203.7bfa63be@gmail.com> <4DEC0234.8030300@gmail.com> <20110606022257.39093142.ray@ddteam.net> <4DED769A.6040405@gmail.com> Date: Tue, 7 Jun 2011 09:26:12 +0800 X-Google-Sender-Auth: biqR4igAwMg1Lg8bJtpoVzRkueY Message-ID: From: Adrian Chadd To: Matt Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: Ralink RT3090/RT2860 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2011 01:26:14 -0000 On 7 June 2011 08:53, Matt wrote: > > Well, in anycase here is the patch I made for Ral. If no one wants to work > on trying to port OpenBSD ral, I can try, but I am still learning very much! > > http://pastebin.com/GeAGVjtR That's great work! > Please add manually rt2860.c to Makefile @ /usr/src/sys/modules/ral/Makefile > > Note about patch, it's still alpha quality in that it has a known bug (do > not kldunload while interface is running!) and it is largely untested. > Changes include softc, pci code & all functions put in monolithic file (to > help compare against OpenBSD ral, mainly). They are in the wrong order for > now, however. Ultimate plan was to compare side-by-side with OpenBSD ral to > assist porting. > > There is still an "ecosystem" of includes per rt2860 original, didn't get > around to combining them. Well, I'm all for throwing this in if Matt's up for helping debug and look after it in the meantime. I gather the long-term goal is to update to the OpenBSD driver but this seems like a good middle-step, no? Adrian