From owner-freebsd-hackers Mon Nov 13 16:26:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 6E11A37B479 for ; Mon, 13 Nov 2000 16:26:09 -0800 (PST) Received: from bellatlantic.net (client-151-198-117-35.nnj.dialup.bellatlantic.net [151.198.117.35]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id TAA06924; Mon, 13 Nov 2000 19:26:00 -0500 (EST) Message-ID: <3A108697.1BF0AF92@bellatlantic.net> Date: Mon, 13 Nov 2000 19:25:59 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: Robert Lipe Cc: "Kenneth D. Merry" , freebsd-hackers@FreeBSD.ORG Subject: Re: pci bus enumeration & cdevsw indexing References: <20001113004410.W20018@rjlhome.sco.com> <20001112235932.A63657@panzer.kdm.org> <20001113085137.X20018@rjlhome.sco.com> <20001113102641.B66956@panzer.kdm.org> <20001113114815.D29431@rjlhome.sco.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Robert Lipe wrote: > > Kenneth D. Merry wrote: > > I do know that we have the concept of probe priorities, so you could > > probably set up UDI to probe at a higher priority than the default system > > drivers, and therefore attach instead of the default FreeBSD driver for a > > given piece of harware. > > That's clever. As far as I understand, that's not too easy: most drivers' probes return the highest priority, so you won't be able to override them. But doing the other way is easy: just return a lower priority and the UDI driver will be used only if there is no native driver. Actually, if there are multiple drivers returning the same priority then one will be selected at random (the one appearing earlier in the table) and there still will be no conflict. May be my article http://www.daemonnews.org/200008/isa.html would be of some help, it considers the ISA bus but by the way touches the general issues of the new bus architecture too. -SB (also sergey@sco.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message