From owner-cvs-all Tue Feb 25 21:11:40 2003 Delivered-To: cvs-all@freebsd.org Received: from green.bikeshed.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7E8A237B401; Tue, 25 Feb 2003 21:11:38 -0800 (PST) Received: from green.bikeshed.org (p09vt0zyy07mlpp9@green.bikeshed.org [10.0.0.1] (may be forged)) by green.bikeshed.org (8.12.7/8.12.6) with ESMTP id h1Q5Bc3q012544; Wed, 26 Feb 2003 00:11:38 -0500 (EST) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost) by green.bikeshed.org (8.12.7/8.12.6/Submit) with ESMTP id h1Q5Bbxw012540; Wed, 26 Feb 2003 00:11:38 -0500 (EST) Message-Id: <200302260511.h1Q5Bbxw012540@green.bikeshed.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "M. Warner Losh" Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pccard/pccardc Makefile dumpcisfile.c pccardc.8 pccardc.c src/usr.sbin/pccard/pccardd readcis.c readcis.h In-Reply-To: Your message of "Tue, 25 Feb 2003 21:58:08 MST." <20030225.215808.87764783.imp@bsdimp.com> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 Feb 2003 00:11:37 -0500 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "M. Warner Losh" wrote: > I plan on having a pccard/cardbus utility that will do dumpcis > functionality. The input can come from hardware or a file. It can > output binary or text file. I also thought about having a CIS > compiler that would take the output of the dumpcis and produce a > binary. I was also planning on expanding the pccard/cardbus CIS quirk > stuff so that it could be loaded from a file (maybe even at boot > time). > > Note: the output format would be different than the current dumpcis > format. > > Linux has something very similar (or so I've been lead to believe from > indirect evidence). If it has a suitable license, I may just use it. That sounds like a cool plan :-) The Linux utilities are crap; they're intensely machine-dependent. For example, the CIS-to-text utility uses special calls to the kernel to have it parse the CIS and give it back in a different format, doing most of the work. I haven't looked at the compiler, but I don't think it would be hard at all to do. Come to think of it, I bet we could reuse Iwasaki-san's amldb code, and teach it to use CIS instead of DSDT. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message