From owner-freebsd-current@FreeBSD.ORG Mon Nov 9 05:44:53 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 7BA891065692 for ; Mon, 9 Nov 2009 05:44:53 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from web51805.mail.re2.yahoo.com (web51805.mail.re2.yahoo.com [206.190.38.236]) by mx1.freebsd.org (Postfix) with SMTP id 3114B8FC19 for ; Mon, 9 Nov 2009 05:44:52 +0000 (UTC) Received: (qmail 88727 invoked by uid 60001); 9 Nov 2009 05:44:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1257745492; bh=01SWshbYprpYGwQZFwZL+NSwTiEuVbzjhfn9PGyv2VI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=A3+GXHo882dt3AV+qx/99XqIAh3AHDMoUQQ5qrnAWCdKroKAW/ypSHAEXzzI9zEnt1jZmHnxHTbLYemt4QtelA0NKBmYmFz+HH+KSE+YGAOXGtyp5wEECHf7vzQwdullxy7YBNT1RrVD+0ttcV8GwzLx+Cioevr6nya2Jt8U6JM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ArCmSMv2+dOYm/ND3PlRT7vIs6uqV1f+LhI0aPHcwZsPuzZXaSVBjTnwx0dbZsX2J6HNfoj06sO16NOyXwgcAAdv7d1CuGBEI2XgZumMGa8j5EmJkuIvyoho28sJWmflJPJWBSSqyFyShG9J+4kXQM+dhCQ6IQvy9DpoXfFcBKY=; Message-ID: <366719.85562.qm@web51805.mail.re2.yahoo.com> X-YMail-OSG: EatF4A4VM1lce_GmiCRYSVrDgcxJqhFTyGaqvrclB9rRITqolVO4iRceuJRnGXL3LnuB125kz0yq2sM4J_pGdbsovta7hflg74DFTZRCJ0rZYdox0l3xus_tGt9IFdaKEv0ay38RRNLvfDKlCx8YJzAUOB984bkJ3g3xa.dWWrU2kVmOdeBawpWBAiWr6aDr7ge_37OKhWfkxQqwaD7Gv0o5qIt5cvy6apvUfiqdAxijEKD_0u9gMMtTUAIybewr6YIBqb2qxz76wE6PTeEpcVYpbGLjVnStDSXXm8r.slhaeTL8gcBufhNxEYjfZC35N0b6YhwewP0tiSf9UrOOWh6RVrAsB0Lc4UwtG0uT8TUV4V.2YmS11kVmMEC.APzBiQPvKG0uqfTEMzH8FGl.Fxx61OT0jXOayzjJSWwbSdkLGYZOVkUNdWIOmsy2PKoXauA4tFVFHyKYCJIcbJCJdCXEMvlTZ5XPH4ckJrVn4AIrY9fYfVh.u95bBdjFWWvcsfv8cjb3wtDIY9rvUkPP4yloFN7Fu3f33Y3uoK7zH5ZWCFHDPLIrJqP7v9ZdL7GDYo7QA9zGxKd87CKNOpsrdm_.mRDM1byiOeI7raip_p6TMI.kFlMV.jJ1qXytn9A_7kwSdcZuDzLkmruyNmQ- Received: from [75.158.17.63] by web51805.mail.re2.yahoo.com via HTTP; Sun, 08 Nov 2009 21:44:52 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 References: <668402.59630.qm@web51804.mail.re2.yahoo.com> Date: Sun, 8 Nov 2009 21:44:52 -0800 (PST) From: PseudoCylon To: PseudoCylon In-Reply-To: <668402.59630.qm@web51804.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Mon, 09 Nov 2009 05:44:53 -0000 ----- Original Message ---- > Subject: Re: finished run driver for CURRENT > > On Sunday 08 November 2009 11:22:50 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. > > Just some comments: > > There is an ep_index field you can set, instead of specifying exactly which > endpoint to use. > > Eg. > > UE_BULK_IN > UE_ADDR_ANY > > ep_index = 0, /* will match first bulk_in + addr_any */ > > > UE_BULK_OUT > UE_ADDR_ANY > > ep_index = 2, /* will match third bulk_out + addr_any */ > > I'm not sure if the manufacturer will change those values? > > Else, do you have any other feedback on the new USB stack? Was it difficult? > > --HPS > > 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; > Thank you to everyone testing the driver. I've implemented all suggestions. __________________________________________________________________ Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://ca.promos.yahoo.com/newmail/overview2/