ocpbus(4)
Marcel Moolenaar
marcelm at juniper.net
Fri Dec 28 12:30:51 PST 2007
On Dec 28, 2007, at 11:50 AM, M. Warner Losh wrote:
> : Existing drivers that only check DEVTYPE (which I'm sure
> : we'll start with) will have to check DEVCLASS as well if
> : there's going to be variation within DEVTYPE.
>
> Are there existing drivers right now?
The e500 port uses ocpbus(4) and if we make it generic,
I can merge it into CVS independently of the e500 code
itself.
> FreeBSD has two models for device enumeration. One is where the
> parent bus decides, by whatever means, and one where the device itself
> has enough information to allow the driver to decide. I think that
> trying to shoe-horn the second model into a situation where the first
> model is actually better would be a disservice.
When would the first be better?
--
Marcel Moolenaar
marcelm at juniper.net
More information about the freebsd-embedded
mailing list