freebsd with flexible iflib nic queues
Go to file
Andriy Gapon 896c58786c add example indent.pro file believed to produce code with minimal differences from KNF
This file is what bde uses!
With addition of some types from queue(3) by hps.
Please note that the output will not be KNF and currently it's not
possible to achieve correct KNF with any combination of options.
indent(1) needs to be made smarter.

Some issues:
o indent produces a space between a queue type macro and opening
  parenthesis
o indent produces a tab before __packed and __aligned
o indent produce a space after #define

bde also notes difference in the following options between this profile
and profile in /usr/src/admin/style of 4.4BSD:
-cdb -ei -ip8 -nsob

Also, NetBSD uses -di0 instead of -di8.

Location for the profile is suggested by jh.

Submitted by:	Hans Petter Selasky (parts)
Obtained from:	bde :-)
MFC after:	10 days
X-ToDo:		make indent able to produce proper (perfect) KNF
X-Perhaps-ToDo:	make KNF default output
2010-04-02 16:06:46 +00:00
bin Merge OpenBSD revisions 1.4 through 1.9, mostly style cleanups. 2010-03-30 23:14:35 +00:00
cddl - update zfs and zpool manual pages to match the current state of the source 2010-03-26 00:49:06 +00:00
contrib Specify the parameter in the format_k2 prototype. 2010-04-01 21:20:19 +00:00
crypto Merge OpenSSL 0.9.8n into head. 2010-04-01 15:19:51 +00:00
etc Add -k to the recommended fingerd(8) command line. 2010-04-01 13:13:09 +00:00
games Sync fortunes with other *BSDs 2010-03-31 18:21:25 +00:00
gnu Change all our own code to use st_*tim instead of st_*timespec. 2010-03-28 13:16:08 +00:00
include Be like stdlib.h and bring in a wchar_t definition and use it to prototype 2010-03-31 02:12:24 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib - Support for uncore counting events: one fixed PMC with the uncore 2010-04-02 13:23:49 +00:00
libexec Forgot to initialize the debug variable. 2010-04-01 13:16:32 +00:00
release Provide a script that can be used to create the memstick images. For now 2010-02-18 15:45:43 +00:00
rescue Remove libulog from the bootstrap again. 2010-01-21 16:56:27 +00:00
sbin Change how multipath labels are created and managed. This makes it easier 2010-03-29 18:04:06 +00:00
secure Regenerate manual pages for OpenSSL 0.9.8n. 2010-04-01 15:37:38 +00:00
share add example indent.pro file believed to produce code with minimal differences from KNF 2010-04-02 16:06:46 +00:00
sys mountmsdosfs: reject too high value of bytes per cluster 2010-04-02 15:22:23 +00:00
tools Two fixes: 2010-03-31 18:18:37 +00:00
usr.bin Change how getent utmpx works. 2010-04-02 11:05:59 +00:00
usr.sbin Properly initialize the timestamp when using ac -w. 2010-04-02 14:30:56 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:37 +00:00
LOCKS
MAINTAINERS Tighten my grip on pseudofs, procfs, linprocfs. 2010-03-26 12:59:15 +00:00
Makefile Import OpenSSL 0.9.8n. 2010-04-01 12:25:40 +00:00
Makefile.inc1 Expose MACHINE_CPU while building lib32 target. 2010-03-24 18:40:57 +00:00
ObsoleteFiles.inc <machine/nexusvar.h> removed on ia64. 2010-03-27 03:17:39 +00:00
README Import OpenSSL 0.9.8n. 2010-04-01 12:25:40 +00:00
UPDATING WITH_CTF can now be specified in src.conf (not recommended, there 2010-04-02 06:55:31 +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