From owner-freebsd-current@FreeBSD.ORG Sun Nov 8 15:50:27 2009 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 30900106568B; Sun, 8 Nov 2009 15:50:27 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id DF0D68FC19; Sun, 8 Nov 2009 15:50:26 +0000 (UTC) Received: from [202.179.21.132] (helo=beastie.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1N79QX-000Lrc-K3; Sun, 08 Nov 2009 23:11:37 +0800 Message-ID: <4AF6DFA9.8080303@micom.mng.net> Date: Sun, 08 Nov 2009 23:11:37 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.23 (X11/20091011) MIME-Version: 1.0 To: PseudoCylon References: <668402.59630.qm@web51804.mail.re2.yahoo.com> In-Reply-To: <668402.59630.qm@web51804.mail.re2.yahoo.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=78F6425E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-drivers@freebsd.org Subject: Re: finished run driver for CURRENT 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: Sun, 08 Nov 2009 15:50:27 -0000 PseudoCylon wrote: > Hello everyone, > > I finished porting run driver to CURRENT (sort of). I posted it at freebsd fourums > http://forums.freebsd.org/showpost.php?s=a3756a43cb6eca54dea97673ac8424e7&p=47936&postcount=28 > Anyone interested in please try it out. > Compile fails at line 2338 of if_run.c. /home/tsgan/run-CUR/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c: In function 'run_tx': /home/tsgan/run-CUR/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:2338: warning: comparison between pointer and integer *** Error code 1 Stop in /home/tsgan/run-CUR/sys/modules/usb/run. I guess it should either: struct ieee80211_channel *chan; chan = ni->ni_chan == IEEE80211_CHAN_ANYC ? ic->ic_curchan : ni->ni_chan; or: struct ieee80211_channel *chan; chan = ni->ni_chan == (ieee80211_channel *)IEEE80211_CHAN_ANY ? ic->ic_curchan : ni->ni_chan; I didn't test association with AP (don't have AP), system finds usb wireless Planex GW-USMicroN device: Nov 8 23:08:00 beastie kernel: ugen3.3: at usbus3 Nov 8 23:08:00 beastie kernel: run0: <1.0> on usbus3 Nov 8 23:08:00 beastie kernel: run0: MAC/BBP RT3070 (rev 0x0200), RF RT3020 (MIMO 1T1R), address 00:22:cf:03:e0:30 Nov 8 23:08:00 beastie kernel: run0: You are using firmware RT2870. run0: flags=8802 metric 0 mtu 2290 ether 00:22:cf:03:e0:30 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier regards, Ganbold Ts. > > __________________________________________________________________ > Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > -- He who laughs last hasn't been told the terrible truth.