From owner-freebsd-questions@FreeBSD.ORG Thu Apr 29 11:37:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCFB0106564A for ; Thu, 29 Apr 2010 11:37:00 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 568768FC14 for ; Thu, 29 Apr 2010 11:37:00 +0000 (UTC) Received: by wyb36 with SMTP id 36so197901wyb.13 for ; Thu, 29 Apr 2010 04:36:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=KIeI9yEKgYaVeoj9UPkNsHfJIdI+w0CeeYDfzJq1W9U=; b=EOYzmHOOKPV7atmwBVbAiCs2E5cJf61chnbibKyr8kMr4Uxiut70ZY5BwOvVDXMcBE Ofm9PutvsfW/Mv4xnDYUePtSJEmVvASw5lwzJzH3+tISG55LDpXeAwUsOt0S49EIPYec d0czqTDOStAiJfwDLdyMSPIBGds7XMkssXwRQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=kNkbQ68vOVwPcj1b0QtZvg7wKRH4skBkJOZ7kHnvqwId8/3HP6bc8eCJHztyS7mqy2 XqGQfjhIIpVGN5a/NWmd57i6btDO8MVeBEFa2l2HCr1hVpaJL5ty+A5nm+gXjEqyk1sC 5+A/qE/VP5iOg+pH/XisC1s9G+Pz7U1gIBzeI= Received: by 10.216.90.137 with SMTP id e9mr3610077wef.38.1272541016052; Thu, 29 Apr 2010 04:36:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.49.76 with HTTP; Thu, 29 Apr 2010 04:36:35 -0700 (PDT) In-Reply-To: <20100429070033.0f61e542@scorpio.seibercom.net> References: <20100429070033.0f61e542@scorpio.seibercom.net> From: Paul B Mahol Date: Thu, 29 Apr 2010 11:36:35 +0000 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Convert Windows driver via ndisgen X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 11:37:00 -0000 On Thu, Apr 29, 2010 at 11:00 AM, Jerry wrote: > Apparently, FreeBSD does not have a driver for a Linksys WUSB600N > network adapter. I was thinking of using the ndisgen utility to create > a driver via the WinXP version. I have three questions. > > 1) The WinXP driver was for an x386 machine. I have a FreeBSD-8/amd64 > PC. From man NDIS(4): > > "Note that this means the ndis driver is only useful on x86 machines." > > Am I therefore to assume that even if I do convert the Windows Driver > to FreeBSD form, it will not work? You can not use 32bit driver on 64bit OS, NDISulator will panic (I have patch for that if anybody is interested in comitting it). > > 2) If I do successfully extract the driver, is there any way that I can > have it compiled directly into the kernel as opposed to having it > loaded via kldload? It is possible but not practical. > 3) Is there any list that I could contact to request a driver for this > device. Since I have the device, I would be happy to work with someone > who actually knows how to write a drive since I don't posess those > skills.