From owner-freebsd-usb@FreeBSD.ORG Wed Jul 18 18:47:37 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F9A416A401 for ; Wed, 18 Jul 2007 18:47:37 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B93F813C49D for ; Wed, 18 Jul 2007 18:47:36 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l6IIkAp8070169; Wed, 18 Jul 2007 12:46:11 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 18 Jul 2007 12:46:14 -0600 (MDT) Message-Id: <20070718.124614.1678772264.imp@bsdimp.com> To: r.neese@gmail.com From: "M. Warner Losh" In-Reply-To: <200707181137.23485.r.neese@gmail.com> References: <200707181008.34104.r.neese@gmail.com> <200707182009.59135.hselasky@c2i.net> <200707181137.23485.r.neese@gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 18 Jul 2007 12:46:12 -0600 (MDT) Cc: freebsd-usb@freebsd.org Subject: Re: Hello and need help porting a usb driver... X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2007 18:47:37 -0000 In message: <200707181137.23485.r.neese@gmail.com> Richard Neese writes: : On Wednesday 18 July 2007 11:09:59 am Hans Petter Selasky wrote: : > On Wednesday 18 July 2007 19:08, Richard Neese wrote: : > > I am trying to port a driver from openbsd to freebsd . The zyd driver aka : > > ZyDas usb wifi driver I have the c and header file and I got it in : > > to /sys/config and the driver is in /sys/dev/usb and I added it to the : > > KERNEL file but it cant find 3 files when running make depend. : > > : > > bpfilter.h sys/timeout.h sys/device.h : > > : > > Please point me to how to either fix this or what I should do... : > : > Last time I checked if_zyd.c only data reception was supported. I really : > recommend that you use "if_ural.c" or "if_rum.c". : > : > --HPS : : Well the unit I have is a ZD1211 and needs the zyd driver : I have not been able to get it to work with the ural driver I think that Hans is suggesting using ural as a guide-post for the porting changes necessary. Warner