quirks from a config file

M. Warner Losh imp at bsdimp.com
Mon Sep 3 09:37:49 PDT 2007


In message: <46dba527.kr9kg+PMj348wN+L%perryh at pluto.rain.com>
            perryh at pluto.rain.com writes:
: What-all would be involved in arranging to load quirks from
: a file, instead of having to build them into the kernel?

A first step would be to allow one to specify quirks at run time via a
sysctl of some kind (one that would need to be global to all
instances, since often times quirks are necessary to keep the system
from hanging).

To do all the quirks, you'd need some meta language to express
things.  Once you have that, we can either load the file directly, or
by loading it as a binary.

Warner


More information about the freebsd-usb mailing list