Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2007 10:37:28 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        perryh@pluto.rain.com
Cc:        freebsd-usb@freebsd.org
Subject:   Re: quirks from a config file
Message-ID:  <20070903.103728.709401530.imp@bsdimp.com>
In-Reply-To: <46dba527.kr9kg%2BPMj348wN%2BL%perryh@pluto.rain.com>
References:  <46dba527.kr9kg%2BPMj348wN%2BL%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <46dba527.kr9kg+PMj348wN+L%perryh@pluto.rain.com>
            perryh@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070903.103728.709401530.imp>