Subject: New USB driver & API, now on NetBSD 3.0
To: None <,>
From: Hans Petter Selasky <>
List: tech-kern
Date: 02/28/2006 11:54:29

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.

Currently ported to NetBSD + my new USB API:

- New ugen USB device driver

- ISDN4BSD USB device drivers


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

How to download NetBSD version (You need subversion installed):

Follow the instructions in the README.TXT for how to install on NetBSD and 

svn --username anonsvn --password anonsvn checkout svn://

Some documentation has been put here: