From owner-cvs-all Mon May 8 12:28:14 2000 Delivered-To: cvs-all@freebsd.org Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by hub.freebsd.org (Postfix) with ESMTP id DB59A37B629; Mon, 8 May 2000 12:27:57 -0700 (PDT) (envelope-from n_hibma@calcaphon.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by anchor-post-32.mail.demon.net with esmtp (Exim 2.12 #1) id 12otBz-000F4r-0W; Mon, 8 May 2000 20:27:48 +0100 Received: from henny.webweaving.org (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id UAA85287; Mon, 8 May 2000 20:27:18 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Received: from localhost (localhost [127.0.0.1]) by henny.webweaving.org (8.9.3/8.9.3) with ESMTP id UAA60313; Mon, 8 May 2000 20:17:40 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Date: Mon, 8 May 2000 20:17:40 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/usb usb.c usb_port.h In-Reply-To: <20000508175448.EE5081CE3@overcee.netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG well, it didn't work. The module being looked at is not on the found_modules list and therefore module_lookup(modname) does not show them. kern_linker.c needs some surgery to get this to work. Nick > > This also shows that > > MODULE_VERSION(usb, 1); > > MODULE_DEPEND(usb, usb, 1, 1, 1); > > in the same module in one source file works. > > Incidently, this should not be needed except that we use usbd_* calls to > usbdi.c rather than newbus-style method calls up the stack. The USB stack > isn't a good example of a newbusified driver for that reason. But I guess > that is a result of it's NetBSD heritage. > > Cheers, > -Peter > -- > Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au > "All of this is for nothing if we don't go to the stars" - JMS/B5 > -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message