From owner-freebsd-usb@FreeBSD.ORG Tue Feb 28 20:34:25 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C53B816A420 for ; Tue, 28 Feb 2006 20:34:25 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 892D543D45 for ; Tue, 28 Feb 2006 20:34:25 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.23.146]) ([10.251.23.146]) by a50.ironport.com with ESMTP; 28 Feb 2006 12:34:25 -0800 Message-ID: <4404B3D0.10706@elischer.org> Date: Tue, 28 Feb 2006 12:34:24 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Petter Selasky References: <200602281154.30717.hselasky@c2i.net> In-Reply-To: <200602281154.30717.hselasky@c2i.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org, tech-kern@netbsd.org Subject: Re: New USB driver & API, now on NetBSD 3.0 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: Tue, 28 Feb 2006 20:34:25 -0000 Hans Petter Selasky wrote: >Hi, > >I just want to let you know that my new USB driver is now compiling and >working on NetBSD 3.0. > >The first goal of my driver is to get the USB drivers out of Giant/spl. >Another goal is that NetBSD and FreeBSD should share some device drivers line >by line, without any #ifdefs nor macros. That would help bring down the >amount of maintainance, not having to port patches forth and back. And to >avoid separate branches for drivers. > >Theoretically, any USB device driver that creates a device in /dev/, like >ulpt, can now easily be ported from FreeBSD to NetBSD. > > if NetBSD has accepted Hans's rewritten drivers, then that takes away one of the few remaining obstacles for having them in FreeBSD, which is the fact that we were trying ot maintain compatibiolity with NetBSD. > >Currently ported to NetBSD + my new USB API: >============================================ > >- New ugen USB device driver >(http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb2/_ugen.c) > >- ISDN4BSD USB device drivers >(http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/i4b/layer1/ihfc2/*usb*) > > >Sources: >======== >http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb2/ > >There has been a major cleanup in "usb_port.h". > >The new USB driver supports _all_ transfer types on EHCI, OHCI, and UHCI. > >NOTE: the code compiles and loads on Sparc64, but it does not work properly >yet. This is being worked on. Maybe someone wants to help? > >Host processors currently supported i386, amd64 and alike. > > >FreeBSD kernel emulator for NetBSD >================================== >http://www.turbocat.net/~hselasky/isdn4bsd/sources/module/ > > >How to download NetBSD version (You need subversion installed): >=============================================================== > >Follow the instructions in the README.TXT for how to install on NetBSD and >FreeBSD. > >svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b > > >Some documentation has been put here: >===================================== > >http://www.turbocat.net/~hselasky/usb4bsd > >--HPS >_______________________________________________ >freebsd-usb@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-usb >To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > >