freebsd kernel with SKQ
Go to file
Weongyo Jeong ed2d4b5f13 fix a another driver bug related with tsleep() during detaching that
this also can be happened if we pull the USN stick out forcibly.

Currently the ZyDAS driver uses tsleep() when it try to query a read
command to the device and it'd make a timeout if the device doesn't
response within about 1 sec.

In a case of that the USB stick is gone by hand and the driver's
scanning with changing the channel numbers, the thread which is sleeping
until a command requested is responded can be waked up after all
detaching routines finished that means the zyd softc already freed.
Tring to touch the softc freed by the wakeup thread makes a panic.

So make sure that all sleeping threads should be waken up before the
detach is completed and any other new requests to the device should be
prevented.
2008-09-19 07:40:30 +00:00
bin Remove redundant close(2). 2008-09-09 12:31:42 +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 Remove some unused files. 2008-09-01 16:34:02 +00:00
etc Allow a jail to be started with a specific route fib. 2008-09-16 20:18:25 +00:00
games Suggections from bde@ 2008-08-11 23:24:42 +00:00
gnu MFP4: Add mips to the list of soft-float platforms. 2008-09-19 03:09:36 +00:00
include Add missing prototypes for uuid_enc,dec_le,be() functions. 2008-09-15 23:47:19 +00:00
kerberos5 Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This 2008-08-06 14:02:05 +00:00
lib Improve grammar. 2008-09-18 10:20:35 +00:00
libexec Allow multiple locks to be acquired by detecting corresponding 2008-09-16 01:46:11 +00:00
release Sync with English revisions. While I'm there set fbsd:notbinary attribute 2008-09-17 18:13:37 +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 - Make bsdlabel use libgeom to determine provider name, device path, the media 2008-09-18 14:04:02 +00:00
secure Upgrade to OpenSSH 5.1p1. 2008-08-01 02:48:36 +00:00
share Hello, svn world! (adding myself to yet another list) 2008-09-18 17:32:13 +00:00
sys fix a another driver bug related with tsleep() during detaching that 2008-09-19 07:40:30 +00:00
tools Add files to remove when WITHOUT_HESIOD is set. 2008-09-13 17:29:49 +00:00
usr.bin Clean up flags support just a tad: FreeBSD support depends on 2008-09-14 03:49:00 +00:00
usr.sbin - remove superfluous word 2008-09-15 16:30:06 +00:00
COPYRIGHT Happy new year 2008! 2007-12-31 22:09:19 +00:00
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 When I flattened the dist tree, some files that had been removed in prior 2008-09-01 16:12:27 +00:00
Makefile.inc1 If a CPUTYPE isn't specified, then don't use -march=k8 when compiling 2008-08-19 14:23:26 +00:00
ObsoleteFiles.inc Remove the suser(9) interface from the kernel. It has been replaced from 2008-09-17 15:49:44 +00:00
README
UPDATING The si(4) and ufoma(4) drivers have been ported to the new TTY layer. 2008-09-14 19:25:57 +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