Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2000 19:25:59 -0500
From:      Sergey Babkin <babkin@bellatlantic.net>
To:        Robert Lipe <robertlipe@usa.net>
Cc:        "Kenneth D. Merry" <ken@kdm.org>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: pci bus enumeration & cdevsw indexing
Message-ID:  <3A108697.1BF0AF92@bellatlantic.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A108697.1BF0AF92>