From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 24 00:13:49 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26F5E16A40A for ; Tue, 24 Apr 2007 00:13:49 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.freebsd.org (Postfix) with ESMTP id C5AC313C484 for ; Tue, 24 Apr 2007 00:13:48 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ozlabs.org (Postfix) with ESMTP id 0E890DDE9E; Tue, 24 Apr 2007 10:13:47 +1000 (EST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id DD5461A988A; Tue, 24 Apr 2007 09:43:46 +0930 (CST) Date: Tue, 24 Apr 2007 09:43:46 +0930 From: Greg 'groggy' Lehey To: Jim Stapleton Message-ID: <20070424001346.GF45246@wantadilla.lemis.com> References: <80f4f2b20704230529s706c50a9pa4716e74c2b04182@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TeJTyD9hb8KJN2Jy" Content-Disposition: inline In-Reply-To: <80f4f2b20704230529s706c50a9pa4716e74c2b04182@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-multimedia@freebsd.org Subject: Re: pvrxxx, linux code and modules X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2007 00:13:49 -0000 --TeJTyD9hb8KJN2Jy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 23 April 2007 at 8:29:56 -0400, Jim Stapleton wrote: > Here's a possibly silly thought - I don't remember if I've seen it or > not, pretty sure I haven't (and it's something I could actually write > the code for). > > For the tuner part of the module, rather than having the tuner data > stored in the driver binary, could we use a configuration file? It > seems that all the specific stuff for the tuner easily stored as pure > data (as demonstrated by the fact that the tuners are all stored in > rather simple structures, with a switch statement to determine which > tuner is read). I think that the Linux drivers do something similar to this, modulo kernel constraints. If it's really practical to have this in userland, having a proper configuration file makes a lot of sense. Greg -- See complete headers for address and phone numbers. --TeJTyD9hb8KJN2Jy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFGLUu6IubykFB6QiMRAm3GAJ9TfqO1/5F8qeSRNr3fWu71NLHiTwCdHU4V 2bZI1J5h1+aiFJ73HQA9hng= =oi1F -----END PGP SIGNATURE----- --TeJTyD9hb8KJN2Jy--