Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2000 21:29:40 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Roger Hardiman <roger@cs.strath.ac.uk>
Cc:        Mike Smith <msmith@FreeBSD.org>, 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>
In-Reply-To: <3A0FDD63.18869D9F@cs.strath.ac.uk>; from roger@cs.strath.ac.uk on Mon, Nov 13, 2000 at 12:24:03PM %2B0000
References:  <200011131217.eADCHvF03753@mass.osd.bsdi.com> <3A0FDD63.18869D9F@cs.strath.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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