Date: Fri, 19 Nov 2010 18:29:35 +0200 From: Andriy Gapon <avg@freebsd.org> To: Lev Serebryakov <lev@serebryakov.spb.ru> 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") Message-ID: <4CE6A5EF.9010105@freebsd.org> In-Reply-To: <441397602.20101119185527@serebryakov.spb.ru> References: <441397602.20101119185527@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
on 19/11/2010 17:55 Lev Serebryakov said the following: > Hello, Freebsd-usb. > > I've implemented driver (ucom-subdriver) for MosChip 7820 and 7840 > USB2COM multiport bridges. I have two questions: > > (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. > I need to run some code only once, at very > beginning, not for each probe/attach. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CE6A5EF.9010105>