FreeBSD src
Go to file
Pyun YongHyeon 8da9c50775 Export hardware MAC statistics through sysctl node. Previously
fxp(4) already used to extract most hardware MAC statistics but it
didn't show them. With this change, all MAC statistics counters
are exported. Because there are a couple of new counters for 82558
and 82559, enable extended MAC statistics functionality to get
these counters. Accoring to public data sheet, 82559 MAC statistics
return 24 DWORD counters(3 counters are unknown at this moment) so
increase MAC counter structure to meet the MAC statistics block size.
The completion of MAC counter dump is now checked against
FXP_STATS_DR_COMPLETE status code which is appended at the end of
status block. Previously fxp(4) ignored the status of the
FXP_SCB_COMMAND_CU_DUMPRESET command. fxp(4) does not wait for the
completion of pending command before issuing
FXP_SCB_COMMAND_CU_DUMPRESET. Instead it skips the command and try
it next time. This scheme may show better performance but there is
chance to loose updated counters after stopping controller. So make
sure to update MAC statistics in fxp_stop().
While I'm here move sysctl node creation to fxp_sysctl_node().

Tested by:	Larry Baird < lab <> gta dot com >
2010-05-09 22:16:15 +00:00
bin sh(1): Fix "reserved word" vs "keyword" inconsistency. 2010-05-09 22:03:18 +00:00
cddl Introduce hardforce export option (-F) for "zpool export". 2010-05-05 18:22:29 +00:00
contrib Update GRANDPARENTED text to match the contents of tzdata/factory r19879. 2010-05-03 22:32:26 +00:00
crypto Upgrade to OpenSSH 5.5p1. 2010-04-28 10:36:33 +00:00
etc Make address assignment via ipv6_prefix_IF work again 2010-05-04 01:46:58 +00:00
games Sync fortunes with other *BSDs 2010-03-31 18:21:25 +00:00
gnu Add FreeBSD 8.1 to known list as it's being referenced by a couple of 2010-04-29 18:37:56 +00:00
include Move realpath(3) prototype to a POSIX section. 2010-04-21 16:38:37 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib strptime(3) confused July with June with the fr_FR locale. 2010-05-09 22:01:35 +00:00
libexec Final update to current version of head in preparation for reintegration. 2010-05-06 17:37:23 +00:00
release Add gpart and glabel to the release CD mfsroot. Even if sysinstall 2010-04-20 01:12:23 +00:00
rescue Remove libulog from the bootstrap again. 2010-01-21 16:56:27 +00:00
sbin Final update to current version of head in preparation for reintegration. 2010-05-06 17:37:23 +00:00
secure Regenerate manual pages for OpenSSL 0.9.8n. 2010-04-01 15:37:38 +00:00
share Various wording, spelling and markup fixes. 2010-05-09 21:34:05 +00:00
sys Export hardware MAC statistics through sysctl node. Previously 2010-05-09 22:16:15 +00:00
tools Fix error in comment. 2010-05-09 17:15:26 +00:00
usr.bin bsdcpio 2.8.3 2010-05-08 16:47:33 +00:00
usr.sbin Catch up with libusbhid merge (rev 205728). 2010-05-09 09:20:25 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:37 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS Add a comment to MAINTAINERS indicating that sbin/routed is in fact 2010-04-10 12:29:09 +00:00
Makefile For those of us mere mortals who do not aspire to the lofty heights 2010-03-18 18:58:17 +00:00
Makefile.inc1 - Take libinstall.a out of pkg_install and make it a proper shared library. 2010-04-23 11:07:43 +00:00
ObsoleteFiles.inc o) Use inline functions to access coprocessor 0 registers rather than external 2010-04-17 01:17:31 +00:00
README Vendor import of OpenSSH 5.5p1 2010-04-28 08:37:00 +00:00
UPDATING On Alan's advice, rather than do a wholesale conversion on a single 2010-04-30 00:46:43 +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