usb modems and com devices into GENERIC

M. Warner Losh imp at bsdimp.com
Wed Jan 3 19:36:49 PST 2007


In message: <20070103205841.GB85200 at roadrunner.q.local>
            Ulrich Spoerlein <uspoerlein at gmail.com> writes:
: M. Warner Losh wrote:
: > I'd like to place the following in GENERIC.  We're getting more and
: > more questions about these devices that we wouldn't be getting if we
: > had them compiled in by default.  The really imporant ones are marked
: > with a '*' below
: > 
: > device		ucom		# *
: > device		umodem		# *
: > device		umct
: > device		uark
: > device		ubsa
: > device		ubser
: > device		uftdi		# *
: > device		uplcom		# *
: > device		uvisor
: > device		uvscom
: > 
: > the cost isn's so much, and we can filter them out from the
: > installation kernel if size is an issue.
: > 
: > Comments?
: 
: Hi Warner,
: 
: why not do it the other way round? Keep them out of GENERIC, but have
: loader(8) load some of the most used modules (snd_driver!) per default.
: 
: That way, people can easily disable these (without needing to
: recompile).
: 
: I mean, what point is there in the whole KLD infrastructure, if we are
: going to add every device into GENERIC anyway?

Because the meta-data necessary to know which module to load doesn't
presently exist in a standardized enough form to make this a viable
option.  Each driver does its own thing to match the cards, and
there's no easy way to know that any given usb device needs module
foo.

Warner


More information about the freebsd-arch mailing list