freebsd kernel with SKQ
Go to file
yongari 6b7d7d8935 Reimplement Tx status error handler as recommended by datasheet.
If ste(4) encounter TX underrun or excessive collisions the TX MAC
of controller is stalled so driver should wake it up again. TX
underrun requires increasing TX threshold value to minimize
further TX underruns. Previously ste(4) used to reset controller
to recover from TX underrun, excessive collision and reclaiming
error. However datasheet says only TX underrun requires resetting
entire controller. So implement ste_restart_tx() that restarts TX
MAC and do not perform full reset except TX underrun case.
Now ste(4) uses CSR_READ_2 instead of CSR_READ_1 to read
STE_TX_STATUS register. This way ste(4) will also read frame id
value and we can write the same value back to STE_TX_FRAMEID
register instead of overwriting it to 0. The datasheet was wrong
in write back of STE_TX_STATUS so add some comments why we do so.
Also always invoke ste_txeoc() after ste_txeof() in ste_poll as
without reading TX status register can stall TX MAC.
2009-12-22 23:57:10 +00:00
bin Plug a memory leak. 2009-12-21 19:18:27 +00:00
cddl Apply fix Solaris bug 6462803 zfs snapshot -r failed because 2009-12-19 11:43:39 +00:00
contrib Merge 4.2.4p8 into contrib (r200452 & r200454). 2009-12-15 14:58:10 +00:00
crypto Disable SSL renegotiation in order to protect against a serious 2009-12-03 09:18:40 +00:00
etc rc.subr: Use pwait in wait_for_pids. 2009-12-21 22:16:07 +00:00
games Fix a performance bug in factor(6). 2009-11-26 00:38:13 +00:00
gnu Fix one spelling and one copy&paste error in comments. 2009-12-14 01:51:23 +00:00
include Don't name parameters, for consistency with the rest of the file, and because 2009-12-22 22:15:52 +00:00
kerberos5 Link GSS mechanics modules against libgssapi so they will not fail due 2009-10-12 17:10:51 +00:00
lib MFV of tzdata2009t, r200831 2009-12-22 11:17:10 +00:00
libexec Repair breakage to last-minute API change. 2009-12-03 21:44:41 +00:00
release Add "FreeBSD-" to the beginning of the filenames for the ISO images. 2009-12-21 14:42:35 +00:00
rescue Unbreak rescue(8). We should also link against libulog now. 2009-12-05 23:23:46 +00:00
sbin Implement NFSv4 ACL support for UFS. 2009-12-21 19:39:10 +00:00
secure Fix globbing 2009-11-10 09:45:43 +00:00
share Removed duplicate usbd_xfer_state(9) link. 2009-12-22 16:05:28 +00:00
sys Reimplement Tx status error handler as recommended by datasheet. 2009-12-22 23:57:10 +00:00
tools Add regression test for NFSv4 ACLs on UFS. 2009-12-21 20:47:41 +00:00
usr.bin Don't print the archive name with -p and -q options. 2009-12-22 15:13:16 +00:00
usr.sbin apm(8) is no longer linked to zzz(8), catch up. 2009-12-22 14:21:08 +00:00
COPYRIGHT Update ntp vendor code to 4.2.4p8. 2009-12-12 22:29:30 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS Register a request that all changes to *env(3) be reviewed by secteam 2009-12-06 23:48:38 +00:00
Makefile Add a new world named 'mips' to our universe. 2009-04-01 17:11:50 +00:00
Makefile.inc1 Add NO_KERNELOBJ flag, similar to NO_KERNEL{CONFIG,DEPEND,CLEAN}, 2009-12-16 02:54:34 +00:00
ObsoleteFiles.inc Add more obsolete files. 2009-12-05 17:46:51 +00:00
README Update ntp vendor code to 4.2.4p8. 2009-12-12 22:29:30 +00:00
UPDATING Mention the unification of rc.firewall and rc.firewall6. 2009-12-18 16:35:28 +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