From owner-freebsd-arch@FreeBSD.ORG Mon Jul 7 15:46:40 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A46237B401; Mon, 7 Jul 2003 15:46:40 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id D93D643FAF; Mon, 7 Jul 2003 15:46:38 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h67MkXhR060141 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 8 Jul 2003 00:46:35 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h67MkWw6089028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Jul 2003 00:46:32 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h67MkVgt033145; Tue, 8 Jul 2003 00:46:31 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h67MkVQS033144; Tue, 8 Jul 2003 00:46:31 +0200 (CEST) Date: Tue, 8 Jul 2003 00:46:31 +0200 From: Bernd Walter To: ticso@cicely.de, Paul Richards , joe@freebsd.org, arch@freebsd.org Message-ID: <20030707224630.GM31285@cicely12.cicely.de> References: <20030707071617.GD44762@funkthat.com> <20030707194747.GA21209@survey.codeburst.net> <20030707221544.GL31285@cicely12.cicely.de> <20030707223559.GL44762@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030707223559.GL44762@funkthat.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i Subject: Re: usb module orginization X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 22:46:40 -0000 On Mon, Jul 07, 2003 at 03:35:59PM -0700, John-Mark Gurney wrote: > Bernd Walter wrote this message on Tue, Jul 08, 2003 at 00:15 +0200: > > Also it would be a great idea to split the usb module into usb, ehci, > > ohci, uhci and maybe uhub. > > -current is broken wrt split usb modules. when you set usbd_enable="YES" > in rc.conf, it only loads the usb device. If you then load ugen or any > other device, any existing devices are not reprobed. You have to unplug > and replug the device back in. So if you broke uhub out, then you'd > be in even work trouble since you can't disconnect the internal hub to > magicly make it appear. uhub support is mandantory - just make it an dependency of usb. Naturally usb need to be a dependency to the controller modules. For the reprobing thing - it's easy to write a userland tool which cycles the port to get a reprobe - I thought about writing one since a while. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de