From owner-cvs-all Tue Mar 6 7:40:28 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id AECB337B718; Tue, 6 Mar 2001 07:40:20 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA26749; Wed, 7 Mar 2001 02:40:11 +1100 Date: Wed, 7 Mar 2001 02:39:59 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Ian Dowse Cc: Maxim Sobolev , Warner Losh , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/modules/ed Makefile src/sys/dev/ed if_ed.cif_ed_pccard.c if_ed_pci.c if_edreg.h if_edvar.h src/sys/i386/confGENERIC NEWCARD In-Reply-To: <200103061241.aa70516@salmon.maths.tcd.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 6 Mar 2001, Ian Dowse wrote: > In message , Bruce Ev > ans writes: > > > >I've never liked the modularilty of mii. It keeps growing, and has become > >almost non-optional, and now seems to be about 2.5 times larger than pci > >(for both source and object sizes). > > My test a few minutes ago indicated that `device pci' on an otherwise > fairly stripped-down kernel adds 280k to the kernel size, but > `device miibus` adds around 60k. I guess a lot of extra stuff gets > enabled in the PCI case though. It's not nearly that bad. For the follow minimal config: --- machine i386 cpu I686_CPU ident MIN maxusers 2 --- and the corresponding config with "device pci", the sizes are: text data bss dec hex filename 652252 63360 279432 995044 f2ee4 MIN/kernel 679426 66024 279528 1024978 fa3d2 MINPCI/kernel -rwxr-xr-x 1 bde wheel 916870 Mar 7 02:29 MIN/kernel* -rwxr-xr-x 1 bde wheel 955499 Mar 7 02:33 MINPCI/kernel* These minimal kernels require some hacks to compile (mainly conditionalizing isa pnp grot). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message