Commit Graph

110974 Commits

Author SHA1 Message Date
phk
ebc98c6300 Eliminate a bunch of unnecessary prototypes. 2005-01-06 23:26:13 +00:00
phk
23d430c9fe Move the module related stuff to the bottom of the file. This will
allow us to save prototypes.
2005-01-06 23:22:38 +00:00
imp
afe5e5fb7a /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
phk
4f119dfb62 Make sure to clear any pending interrupts when we stop the interface. 2005-01-06 23:18:44 +00:00
phk
962238ddac Close a theoretical race: By the time the watchdog comes around
the interface may have been stopped, so we should not restart it.
2005-01-06 23:13:50 +00:00
imp
8d58b9df12 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
imp
3a5dc12cb2 Remove left over include file from stallion driver. 2005-01-06 22:07:20 +00:00
imp
0bfe4ce99e Expand indirect reference to BSD license with the current one. 2005-01-06 22:05:28 +00:00
imp
1df02b4d34 This doesn't seem to have been used since 386BSD days 2005-01-06 22:00:50 +00:00
jhb
7cfed3921b Bit 0 of td_flags is now used by the priority borrowing flag, so remove
the unused placeholder constant.
2005-01-06 21:11:05 +00:00
alc
437d364a03 Revise the part of vm_pageout_scan() that moves pages from the cache
queue to the free queue.  With this change, if a page from the cache
queue belongs to a locked object, it is simply skipped over rather
than moved to the inactive queue.
2005-01-06 20:22:36 +00:00
imp
872b48591b /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
imp
625b09281c Add dol FreeBSD dol and /*+ize license 2005-01-06 18:27:09 +00:00
imp
fb0a393e99 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
emax
a74e29628a Introduce new startup level SI_SUB_NETGRAPH that is after
SI_SUB_INIT_IF but before SI_SUB_DRIVERS. Make Netgraph(4)
framework initialize at SI_SUB_NETGRAPH level.

This does not address the bigger problem: MODULE_DEPEND
does not seem to work when modules are compiled in the
kernel, but it fixes the problem with Netgraph Bluetooth
device drivers reported by a few folks.

PR:		i386/69876
Reviewed by:	julian, rik, scottl
MFC after:	3 days
2005-01-06 17:45:03 +00:00
keramida
d48e9e9ea1 Use .Fn function_name
MFC after:	3 days
2005-01-06 17:33:38 +00:00
keramida
ffcbf9596c Use .Fn function_name
MFC after:	3 days
2005-01-06 17:25:11 +00:00
keramida
93963ed8d5 Properly cross-reference pccard(4).
MFC after:	3 days
2005-01-06 17:19:56 +00:00
keramida
a45c3571b3 - Use .Fn for marking up function-like macro names.
- Improve the wording in a few places.
- Add the email address of Doug Rabson in the AUTHORS section.
- Link to devfs(5) with an .Xr

MFC after:	3 days
2005-01-06 17:17:29 +00:00
keramida
0656c5b050 . Use a .Bl list for describing macro arguments.
. Various wordign fixes.
. Bump document date.

MFC after:	3 days
2005-01-06 17:16:01 +00:00
keramida
1d4742efe6 . Use a -tag instead of an -inset list, which makes the arguments of the
macro stand out more clearly.
. Various other wording fixes.
. Bump document date.
2005-01-06 17:14:21 +00:00
keramida
09400f2d09 Use .Fn function_name.
MFC after:	3 days
2005-01-06 17:11:56 +00:00
keramida
7eafabc241 Add missing .It in list tag.
MFC after:	3 days
2005-01-06 17:08:51 +00:00
keramida
96aac8e900 Fix .Nd description and bump document date.
MFC after:	3 days
2005-01-06 17:07:57 +00:00
keramida
e1b5b19788 "non-spin" is better with a dash, than without. 2005-01-06 16:16:17 +00:00
maxim
6a05820e8b Unbreak the tinderbox, make this compile. 2005-01-06 12:29:10 +00:00
krion
09885bc66a Remove trailing spaces. 2005-01-06 11:12:43 +00:00
philip
b25d8559d6 Document the -V and -U options in usage().
Submitted by:	Jordan Sissel <psionic@csh.rit.edu>
2005-01-06 08:38:29 +00:00
simokawa
c76c089dc2 Clear PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN for broken hardware.
Some amd64 laptops fail to boot with these flags.

PR: kern/75482
2005-01-06 07:40:34 +00:00
grehan
6494b2d4b0 Modules on PPC need to be compiled with -mlongcall to get around
the +/-64k blr offset limitation. With gcc bug #12769 fixed, it's
time to put enable this.
2005-01-06 06:26:11 +00:00
scottl
386418146a Make this compile from the last commit 2005-01-06 05:30:44 +00:00
davidxu
a25b832d9a Return ETIMEDOUT when thread is timeouted since POSIX thread
APIs expect ETIMEDOUT not EAGAIN, this simplifies userland code a
bit.
2005-01-06 02:08:34 +00:00
imp
4b319958e7 Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
imp
e4f5af10c5 add copyright notice to something I wrote that didn't have one 2005-01-06 01:36:28 +00:00
imp
221512a6a9 Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
trhodes
94946f0dbf Early spring cleaning:
Unhook lomac(4) manual page and remove it.  The code was removed by
rwatson over two years ago.
2005-01-06 01:27:55 +00:00
imp
7be6bff985 Start each of the license/copyright comments with /*- 2005-01-05 23:35:00 +00:00
ps
86f9a5d44a If the NFS/TCP stream is out of sync between the client and server,
and if the client (erroneously) reads the RPC length as 0 bytes, the
client can loop around in the socket callback. Explicitly check for
the length being 0 case and teardown/re-connect.

Submitted by:	Mohan Srinivasan
2005-01-05 23:21:13 +00:00
imp
362fcfc1e2 Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
jhb
ccbac9ef96 Typo. 2005-01-05 22:33:11 +00:00
phk
5bbadf8546 Align if else if properly 2005-01-05 22:28:24 +00:00
phk
372b1d2250 Style: new-speak functions, remove pointless "return". 2005-01-05 22:23:03 +00:00
jhb
3ec0dff7ad - Move the function prototypes for kern_setrlimit() and kern_wait() to
sys/syscallsubr.h where all the other kern_foo() prototypes live.
- Resort kern_execve() while I'm there.
2005-01-05 22:19:44 +00:00
imp
bd77e02714 Start each of the license/copyright comments with /*- 2005-01-05 22:16:58 +00:00
imp
de149e3d73 Remove obsolete note about the boot loader not being ready for stable.
It has been in stable for at least 5 years now.
2005-01-05 22:16:10 +00:00
keramida
a580204516 Make an attempt at explaining why sx(9) locks cannot be safely obtained
after acquiring a mutex(9).

PR:		docs/75571
Submitted by:	darrenr
Explanation by:	jhb
2005-01-05 22:04:12 +00:00
imp
77267e277f Start all license statements with /*- 2005-01-05 21:58:49 +00:00
imp
c00855c99f Clarify /*- convention. 2005-01-05 21:27:01 +00:00
jhb
65d4d80800 Rework the optimization for spinlocks on UP to be slightly less drastic and
turn it back on.  Specifically, the actual changes are now less intrusive
in that the _get_spin_lock() and _rel_spin_lock() macros now have their
contents changed for UP vs SMP kernels which centralizes the changes.
Also, UP kernels do not use _mtx_lock_spin() and no longer include it.  The
UP versions of the spin lock functions do not use any atomic operations,
but simple compares and stores which allow mtx_owned() to still work for
spin locks while removing the overhead of atomic operations.

Tested on:	i386, alpha
2005-01-05 21:13:27 +00:00
imp
90af8e5e9a These appear to be unused in our tree, so remove them. 2005-01-05 20:50:31 +00:00