From owner-freebsd-hackers Mon Nov 13 11:29:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id 5876737B4C5 for ; Mon, 13 Nov 2000 11:29:44 -0800 (PST) Received: (qmail 62464 invoked by uid 1003); 13 Nov 2000 19:29:40 -0000 Date: Mon, 13 Nov 2000 21:29:40 +0200 From: Neil Blakey-Milner To: Roger Hardiman Cc: Mike Smith , joe@FreeBSD.org, hackers@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pciconf vendors.h pciconf.8 pciconf.c Message-ID: <20001113212940.A54725@mithrandr.moria.org> References: <200011131217.eADCHvF03753@mass.osd.bsdi.com> <3A0FDD63.18869D9F@cs.strath.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A0FDD63.18869D9F@cs.strath.ac.uk>; from roger@cs.strath.ac.uk on Mon, Nov 13, 2000 at 12:24:03PM +0000 X-Operating-System: FreeBSD 4.1-STABLE i386 X-URL: http://mithrandr.moria.org/nbm/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon 2000-11-13 (12:24), Roger Hardiman wrote: > Mike Smith wrote: > > > > The downside of this is that it bloats pciconf from about 5k to about > > 130k. If someone feels passionately about this, they're welcome to add a > > compile-time option to leave the strings out. > > We will have to add this for PicoBSD where we want the kernel nice and > small. > > > Joe - you listening? pciconf isn't on any picobsd images I've seem. However, we can save a lot of space by reorganizing pci/pcisupport.c in such a way to make it easy to drop text identifiers for the pci devices. I seem to remember posting one way to do it to -arch a while back. It was a sizable win on the images I was playing with. Anyone interested can look at the (now heavily outdated) patch and recreate it. phk suggested there be one massive table, but I used a table per device type. I'm uncertain as to what others think on that. Cheers, Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message