From owner-freebsd-net@FreeBSD.ORG Mon Feb 9 10:20:59 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45B7816A4CE for ; Mon, 9 Feb 2004 10:20:59 -0800 (PST) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D054F43D31 for ; Mon, 9 Feb 2004 10:20:58 -0800 (PST) (envelope-from brett@lariat.org) Received: from runaround.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id LAA02114; Mon, 9 Feb 2004 11:20:51 -0700 (MST) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <6.0.0.22.2.20040209103829.058d2368@localhost> X-Sender: brett@localhost (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 09 Feb 2004 10:40:58 -0700 To: Bruce M Simpson From: Brett Glass In-Reply-To: <20040209103922.GK750@saboteur.dek.spc.org> References: <200402051743.KAA25020@lariat.org> <20040207032053.K39637@odysseus.silby.com> <6.0.0.22.2.20040207234503.0527a228@localhost> <20040209103922.GK750@saboteur.dek.spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: net@freebsd.org Subject: Re: Support for USB Wi-Fi adapters? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 18:20:59 -0000 If it's the code in src/sys/dev/usb/if_wi_usb.{c,h}, it looks pretty portable. However, I haven't done driver development for FreeBSD in awhile, and I'm not familiar with the new macros or the architecture which allows one to stack "buses." Is there a good resource on driver development that would give me a head start? --Brett At 03:39 AM 2/9/2004, Bruce M Simpson wrote: >On Sat, Feb 07, 2004 at 11:46:04PM -0700, Brett Glass wrote: >> At 02:21 AM 2/7/2004, Mike Silbersack wrote: >> >Apparently OpenBSD has support for the USB Prism devices now, but it has >> >not been ported over here yet. >> >> It's interesting that it's OpenBSD and not NetBSD. I'll take a look >> at their code and see how hard it would be to port it to the others. >> Thank you for pointing this out! > >It's based on owi(4) and I found it a bit ugly... YMMV. It does make some >changes to the attachment and the way the softc is laid out. > >BMS