From owner-cvs-all Mon May 8 10:55:13 2000 Delivered-To: cvs-all@freebsd.org Received: from overcee.netplex.com.au (peter1.yahoo.com [208.48.107.4]) by hub.freebsd.org (Postfix) with ESMTP id 14B8E37B5E8; Mon, 8 May 2000 10:54:58 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id EE5081CE3; Mon, 8 May 2000 10:54:48 -0700 (PDT) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Nick Hibma 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: Message from Nick Hibma of "Mon, 08 May 2000 08:10:05 PDT." <200005081510.IAA14599@freefall.freebsd.org> Date: Mon, 08 May 2000 10:54:48 -0700 From: Peter Wemm Message-Id: <20000508175448.EE5081CE3@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nick Hibma wrote: > n_hibma 2000/05/08 08:10:05 PDT > > Modified files: > sys/dev/usb usb.c usb_port.h > Log: > Use the new and shiny module versioning. This enables you to load the > ums driver (mouse) and get the usb driver at the same time. > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message