freebsd with flexible iflib nic queues
Go to file
Søren Schmidt 13014ca04a This is the roumored ATA modulerisation works, and it needs a little explanation.
If you just config KERNEL as usual there should be no apparent changes, you'll get all chipset support code compiled in.

However there is now a way to only compile in code for chipsets needed on a pr vendor basis. ATA now has the following "device" entries:

atacore:	ATA core functionality, always needed for any ATA setup

atacard:	CARDBUS support
atacbus:	PC98 cbus support
ataisa:		ISA bus support
atapci:		PCI bus support only generic chipset support.

ataahci:	AHCI support, also pulled in by some vendor modules.

ataacard, ataacerlabs, ataadaptec, ataamd, ataati, atacenatek, atacypress, atacyrix, atahighpoint, ataintel, ataite, atajmicron, atamarvell, atamicron, atanational, atanetcell, atanvidia, atapromise, ataserverworks, atasiliconimage, atasis, atavia;	Vendor support, ie atavia for VIA chipsets

atadisk:	ATA disk driver
ataraid:	ATA softraid driver

atapicd:	ATAPI cd/dvd driver
atapifd:	ATAPI floppy/flashdisk driver
atapist:	ATAPI tape driver

atausb:		ATA<>USB bridge
atapicam:	ATA<>CAM bridge

This makes it possible to config a kernel with just VIA chipset support by having the following ATA lines in the kernel config file:

device          atacore
device          atapci
device          atavia

And then you need the atadisk, atapicd etc lines in there just as usual.

If you use ATA as modules loaded at boot there is few changes except the rename of the "ata" module to "atacore", things looks just as usual.
However under atapci you now have a whole bunch of vendor specific drivers, that you can kldload individually depending on you needs. Drivers have the same names as used in the kernel config explained above.
2008-10-09 12:56:57 +00:00
bin Improve the `pkill -t' handling, which I changed in my previous commit. 2008-09-30 17:30:39 +00:00
cddl Mips doesn't have a long double that's different in size from double. 2008-09-18 19:54:02 +00:00
contrib Implement zero-copy bpf(4) buffer or "zbuf" support for libpcap. A slightly 2008-09-16 20:32:29 +00:00
crypto Our groff doesn't understand $Mdocdate$, so replace them with bare dates. 2008-09-29 10:53:05 +00:00
etc Create separate cat directories for en.UTF-8. This, together with r183697, 2008-10-08 13:28:02 +00:00
games Another good day for historical quotes, Oliver Wendell Holmes brought to 2008-10-08 19:39:22 +00:00
gnu Enable UTF-8. 2008-10-08 13:16:20 +00:00
include Move getosreldate(3) prototype from the machine generated <osreldate.h> 2008-09-26 19:23:22 +00:00
kerberos5 Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This 2008-08-06 14:02:05 +00:00
lib Correct a typo. 2008-10-06 10:34:44 +00:00
libexec add new build knobs and jigger some existing controls to improve 2008-09-21 22:02:26 +00:00
release OpenSSH has been upgraded to 5.1p1. 2008-10-08 16:46:36 +00:00
rescue Take a moment to tidy some white space while I'm here. No functional 2008-09-13 19:56:37 +00:00
sbin Add some examples to demostrate gpart(8). 2008-10-09 06:23:04 +00:00
secure Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
share Remove stale BUGS. 2008-10-08 18:27:54 +00:00
sys This is the roumored ATA modulerisation works, and it needs a little explanation. 2008-10-09 12:56:57 +00:00
tools Update udpzerobyte to understand that passing 0 as a length to recv(2) 2008-10-07 21:01:23 +00:00
usr.bin Make the CPU column in top always be 2 characters and print in decimal 2008-10-01 22:01:07 +00:00
usr.sbin - Avoid a spurious error when a command line is specified without 2008-10-07 17:28:52 +00:00
COPYRIGHT
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS Update description text 2008-06-06 21:32:01 +00:00
Makefile Back out rev. 1.352 (SVN rev 179842) as phk pointed out that 2008-06-17 11:08:49 +00:00
Makefile.inc1 Rescue is "not yet" for MIPS. 2008-09-19 16:14:42 +00:00
ObsoleteFiles.inc Several documentation fixups related to device minor/major numbers: 2008-09-28 20:15:45 +00:00
README Vendor import of OpenSSH 5.1p1 2008-07-23 09:33:08 +00:00
UPDATING Don't mention lib/compat, it has gone long ago. Use ports/misc/compat* 2008-10-08 01:31:00 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The ``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html