Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 1995 17:39:13 +0100
From:      se@zpr.uni-koeln.de (Stefan Esser)
To:        Warner Losh <imp@village.org>
Cc:        hackers@freebsd.org
Subject:   Re: FreeBSD 2.1 will require a minimum of 8MB for installation.
Message-ID:  <199510031639.AA28447@Sysiphos>
In-Reply-To: Warner Losh <imp@village.org> "Re: FreeBSD 2.1 will require a minimum of 8MB for installation." (Oct  2, 20:32)

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 2, 20:32, Warner Losh wrote:
} Subject: Re: FreeBSD 2.1 will require a minimum of 8MB for installation.
} How much space do the PCI drivers take up?  Would it be reasonable to
} assume that you either have a 4M machine with <= 486 and no PCI bus or
} that you have a PCI bus machine with > 4M of memory?
} 
} Then it would be a simple matter of two different kernels, right?

The PCI code is rather small, actually ...

# size pci.o pcibus.o pcisupport.o 
text    data    bss     dec     hex
8352    288     12      8652    21cc    pci.o
2016    64      0       2080    820     pcibus.o
5344    80      16      5440    1540    pcisupport.o

There are a few text tables in pci.c and pcisupport.c,
which could be removed for the boot floppy kernel, but
the messages are most useful in the installation phase.

# size ncr.o if_de.o 
text    data    bss     dec     hex
17216   5024    16      22256   56f0    ncr.o
12864   32      4       12900   3264    if_de.o

These are the NCR SCSI and DE Ethernet drivers (which 
are the only pure PCI device drivers in the GENERIC 
kernel. Most other PCI drivers use mostly ISA code,
e.g. the Adaptec 2940, and thus don't add more than 
a few hundred bytes for the PCI probe code ...

Regards, STefan

-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/staff/esser/esser.html	  <se@ZPR.Uni-Koeln.DE>



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