From owner-cvs-src Tue Feb 25 20:58:25 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D42CC37B401; Tue, 25 Feb 2003 20:58:22 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5ECA43F3F; Tue, 25 Feb 2003 20:58:21 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h1Q4wK3Y001305; Tue, 25 Feb 2003 21:58:20 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 25 Feb 2003 21:58:08 -0700 (MST) Message-Id: <20030225.215808.87764783.imp@bsdimp.com> To: green@FreeBSD.org 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 From: "M. Warner Losh" In-Reply-To: <200302260451.h1Q4pvjI012385@green.bikeshed.org> References: <20030225.214032.82780680.imp@bsdimp.com> <200302260451.h1Q4pvjI012385@green.bikeshed.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <200302260451.h1Q4pvjI012385@green.bikeshed.org> "Brian F. Feldman" writes: : "M. Warner Losh" wrote: : > In message: <200302252214.h1PMEdQu017187@repoman.freebsd.org> : > Brian Feldman writes: : > : Add a new subcommand to pccardc(8), "dumpcisfile", which reads a CIS : > : structure from a file instead of a PC-CARD itself before parsing and : > : dumping it. (E.g. useful when you get a CIS file from a manufacturer : > : which fixes they broken card's CIS, and add it to the pccard quirks.) : > : > This is quite interesting, but I'm going to nuke pccardc from orbit : > soon. I'm working to migrate this functionality to a new program. : > OLDCARD doesn't support pccard CIS quirks at all... : : Admittedly, this is the only use at all I have of pccardc. Do you think it : would be useful if I took just the dumpcisfile functionality and made it : into a stand-alone program, or do you think you'll just create a dumpcis/ : dumpcisfile sort of command to go along with new pcmcia utilities? 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. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message