From owner-freebsd-usb@FreeBSD.ORG Fri Nov 19 16:39:08 2010 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 17666106566B for ; Fri, 19 Nov 2010 16:39:08 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from ftp.translate.ru (ftp.translate.ru [80.249.188.42]) by mx1.freebsd.org (Postfix) with ESMTP id C751E8FC0A for ; Fri, 19 Nov 2010 16:39:07 +0000 (UTC) Received: from desktop.home.serebryakov.spb.ru (89.112.15.178.pppoe.eltel.net [89.112.15.178]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 6A0EF13DF46; Fri, 19 Nov 2010 19:39:06 +0300 (MSK) Date: Fri, 19 Nov 2010 19:39:02 +0300 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <371920971.20101119193902@serebryakov.spb.ru> To: Andriy Gapon In-Reply-To: <4CE6A5EF.9010105@freebsd.org> References: <441397602.20101119185527@serebryakov.spb.ru> <4CE6A5EF.9010105@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: Two questions: how to specify module-load function for driver module and which name of driver is better (according to "standards") 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: Fri, 19 Nov 2010 16:39:08 -0000 Hello, Andriy. You wrote 19 =ED=EE=FF=E1=F0=FF 2010 =E3., 19:29:35: >> I've implemented driver (ucom-subdriver) for MosChip 7820 and 7840 >> USB2COM multiport bridges. I have two questions: >>=20 >> (1) How should I specify module-load function? DRIVER_MODULE() >> doesn't help much. > Are you sure? > The last two arguments to DRIVER_MODULE() look like what you want. Yes, it my fault, it works after hint from Hans Petter Selasky. --=20 // Black Lion AKA Lev Serebryakov