From owner-cvs-all Mon May 8 12:36:53 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 3AF4D37BBFD; Mon, 8 May 2000 12:36:45 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA45285; Mon, 8 May 2000 13:36:43 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA79111; Mon, 8 May 2000 13:36:28 -0600 (MDT) Message-Id: <200005081936.NAA79111@harmony.village.org> To: Peter Wemm Subject: Re: cvs commit: src/sys/dev/usb usb.c usb_port.h Cc: Nick Hibma , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Mon, 08 May 2000 10:54:48 PDT." <20000508175448.EE5081CE3@overcee.netplex.com.au> References: <20000508175448.EE5081CE3@overcee.netplex.com.au> Date: Mon, 08 May 2000 13:36:28 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000508175448.EE5081CE3@overcee.netplex.com.au> Peter Wemm writes: : 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. This, indicentally, is why the newcard stuff is taking so long. I have had to convert all the function pointer tables and other API interfaces into kobj and as I've done so I've broken things in subtle ways... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message