From owner-freebsd-usb@FreeBSD.ORG Mon Dec 31 12:47:21 2007 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEE6116A418 for ; Mon, 31 Dec 2007 12:47:21 +0000 (UTC) (envelope-from lioux-list@uol.com.br) Received: from goat.gigo.com (goat.gigo.com [216.218.228.114]) by mx1.freebsd.org (Postfix) with ESMTP id CD73213C448 for ; Mon, 31 Dec 2007 12:47:21 +0000 (UTC) (envelope-from lioux-list@uol.com.br) Received: from 201.67.55.174 (201-67-55-174.bsace702.dsl.brasiltelecom.net.br [201.67.55.174]) by goat.gigo.com (Postfix) with ESMTP id 9C3C0B850 for ; Mon, 31 Dec 2007 04:31:40 -0800 (PST) Received: (qmail 5750 invoked from network); 31 Dec 2007 10:31:05 -0200 Received: from unknown (HELO exxodus.fedaykin.here) (127.0.0.1) by exxodus.fedaykin.here with SMTP; 31 Dec 2007 10:31:05 -0200 Message-ID: <4778E109.2060209@uol.com.br> Date: Mon, 31 Dec 2007 10:31:05 -0200 From: Mario Sergio Fujikawa Ferreira User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: freebsd-usb@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: RFC: ugensa(4) driver ported from NetBSD 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: Mon, 31 Dec 2007 12:47:22 -0000 Hi, I wrote a simple port of the NetBSD ugensa(4) driver: USB generic serial adapter http://www.daemon-systems.org/man/ugensa.4.html I would like for you to review the "ported" kernel module. The file can be found at http://people.FreeBSD.org/~lioux/ugensa.tar.gz The files are as follow: - Modified kernel module for FreeBSD based on src/sys/dev/usb/uplcom.c ugensa/ugensa.c - Original NetBSD kernel module ugensa/ugensa.c.orig - Some header definitions while usbdevs is not updated ugensa/ugensa.h Unfortunally, I haven't been able to test this module since it means that I have to buy one of the supported devices. It is a chicken-n-egg problem..... Nevertheless, I would like to know if I made any obvious mistakes on the module porting. Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature