User asks: can we decouple device vendor IDs from drivers?

M. Warner Losh imp at bsdimp.com
Fri Oct 31 11:58:04 PST 2003


In message: <20031031172447.GA716 at saboteur.dek.spc.org>
            Bruce M Simpson <bms at spc.org> writes:
: This sounds like one for the NEWBUS people.

A number of people have proposed this in the past.

It is a big deal, and won't be in 5, although a 'treat this pnpid as
that pnpid' might be, which would be sufficient.

The problem with decoupling things entirely from the drivers is that
many drivers will say "if I have this revision of that card, do this
workaround." or "if I'm this or newer, I have this feature" both of
which are broken by the kernel forcing the driver to service a given
hunk of hardware.  The other down side is that when you bork the alias
file on solaris, you are so hozed.

However, it would make the dynamic loading of drivers easier.  

Warner


More information about the freebsd-hackers mailing list