From owner-freebsd-current Mon Apr 19 4:31:22 1999 Delivered-To: freebsd-current@freebsd.org Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (Postfix) with ESMTP id 137F514C16 for ; Mon, 19 Apr 1999 04:31:17 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (Postfix) with ESMTP id 17D6F1F5E; Mon, 19 Apr 1999 19:28:49 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Doug Rabson Cc: Takanori Watanabe , freebsd-current@freebsd.org Subject: Re: newbus and modem(s) In-reply-to: Your message of "Mon, 19 Apr 1999 10:27:36 +0100." Date: Mon, 19 Apr 1999 19:28:48 +0800 From: Peter Wemm Message-Id: <19990419112851.17D6F1F5E@spinner.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Rabson wrote: > On Mon, 19 Apr 1999, Takanori Watanabe wrote: > > > In message , Do > > ug Rabson wrote: > > >On Mon, 19 Apr 1999 takawata@shidahara1.planet.sci.kobe-u.ac.jp wrote: > > >> Simple Question. > > >> If there were 'Closed'-Host-Controller-Interface with object-only driver , > > >> Can the vendor make the Host controller recognized without changing > > >> usb.c code? > > >> > > >> #That's what frustrated me while writing driver for smbus controller. > > > > > >It really depends on the nature of the bus. For plug-and-play style busses > > >such as USB and PCI, the controller can decide what devices exist without > > >the help of drivers and can then uniquely match them with the right > > >driver. This trivially allows drivers to be added after the system is > > >running. > > > > I don't mention on upstream driver such as 'ukbd' > > (I think such device can be add truly dynamic),but I mention on > > 'host-controller' like [ou]hci. > > > > What I ask is what shall I do if there is a downstream driver without > > declared DRIVER_MODULE on upstream bus.Are there any way without changing > > upstream bus code? > > I don't think I understand. The DRIVER_MODULE declaration goes in the > downstream driver, not the upstream bus. The bus doesn't need any > knowledge of what drivers might be attached to it. Well, what about the i386 nexus? It specifically creates connection points for apm, npx, eisa, isa, and pci as children. However, pci devices don't do this to attach to their parent. I am obviously missing something. :-) Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message