Commit Graph

152190 Commits

Author SHA1 Message Date
riz
31568e4a8e Print an unsigned parameter with %lu, not %ld. From David A. Holland
in PR#33966.
2006-10-10 23:30:23 +00:00
he
4072b525cc The use of a local variable is conditional on FBDEBUG, so make the
declaration too.  Makes this build without FBDEBUG defined.
2006-10-10 23:09:21 +00:00
dogcow
55ddfc9aae change the MOWNER_INIT define to take two args; fix extant struct mowner
decls to use it. Makes options MBUFTRACE compile again and not whinge about
missing structure declarations. (Also makes initialization consistent.)
2006-10-10 21:49:14 +00:00
tsutsui
62600ecc57 Replace magic numbers with proper macro. 2006-10-10 17:45:43 +00:00
mhitch
031f3db0fe Conversion to clock_ymdhms wasn't complete: the match routine was calling
ugettod() with a NULL pointer to test if the clock was present.  That
argument was changed to a struct clock_ymdhms pointer and is no longer
optional.  Change to pass the address of a local structure when probing
for the clock.
2006-10-10 17:24:23 +00:00
tsutsui
88c6f2c305 Clear pending flags before calling handers otherwise possibly some softintr
could be lost.
2006-10-10 13:26:47 +00:00
tsutsui
aa360516de Remove eeprom and clock at mainbus stuff.
They are available only on sun4 or sun4c.
2006-10-10 12:43:11 +00:00
tsutsui
4e4ba0146c Print ofboottarget and ofbootpartition on DEBUG even if they are not set. 2006-10-10 12:41:56 +00:00
rpaulo
a6762e54d7 Revert previous. The check is now done in tcp_congctl. 2006-10-10 11:13:02 +00:00
rpaulo
e1b1f65f6b tcp_reno_newack(): bring the exact original code.
tcp_newreno_newack(): call tcp_reno_newack() if partialacks < 0.
2006-10-10 11:12:39 +00:00
elad
08544bdaa5 Use kauth(9) instead of securelevel.
okay cube@
2006-10-10 10:23:58 +00:00
elad
5d97bceb4a Use KAUTH_PROCESS_CORENAME instead of checking securelevel. 2006-10-10 10:02:34 +00:00
yamt
f5209007e9 tcp_input: don't call congctl->newack when doing fast retransmit. 2006-10-10 09:19:40 +00:00
yamt
2f7740a31e tcp_reno_newack/tcp_newreno_newack: remove stale comments. 2006-10-10 09:19:13 +00:00
yamt
8afc246107 tcp_newreno_newack: actually inflate cwnd as it used to do. 2006-10-10 08:31:02 +00:00
reed
f9a8db2401 Remove parenthesis from around a sentence.
Refer to vi manpage for option -r.

Mention rc.d start up script for this.

Add rc.conf to SEE ALSO.

Remove sentence about it originally done at boot time.

Fix date - it was added in 1996. And mention that the
script was renamed in 2001.
2006-10-10 03:30:42 +00:00
reed
0b966788bb Also point to new virecover manual page. 2006-10-10 03:27:05 +00:00
reed
0589c4dc74 Instead of pointing to vi man page, refer to new virecover
man page for the virecover details.
2006-10-10 03:24:51 +00:00
dbj
d0c4ff452b implement -x by pruning fsnodes tree before building filesystem rather
than by skipping nodes while building filesystem
2006-10-10 01:55:45 +00:00
dbj
0e392af953 add implementation of free_fsnodes() which unlinks a node
from the hierarchy and frees it and any of its children
use it to free memory before a normal exit, which helps diagnostics
2006-10-10 01:46:49 +00:00
dbj
2d7375cec3 free specfile structure once it has been applied 2006-10-10 01:41:14 +00:00
dbj
1ca1523d99 use new implementation of link_check which i
implemented for du.c revision 1.25 :

Use open address hashtable with multiplicative double hash probing
and exponential hashtable growth for tracking previously seen inodes.
This replaces the O(n^2) behavior of linkchk() with an implementation
that should be O(n*logn)
2006-10-10 01:39:10 +00:00
dbj
daab9400b9 use strtoll instead of strsuftoll to parse -d so it can be specified
in hex with a 0x prefix
2006-10-10 01:32:42 +00:00
uwe
bc9906d21b Don't call spl*() in setsoft(), as softintr_schedule() already calls
setsoft() inside _cpu_intr_suspend().
2006-10-10 00:40:47 +00:00
martin
e8a3d86579 Ooops, stupid typo prevented recognizing wd* as boot device
(and stupid me tested on a machine with RAID 1 autoconfigured as root).
While there, make -Wextra ready and add another debug message.
2006-10-09 22:16:33 +00:00
martin
505e0ced00 Missing initializers 2006-10-09 21:50:27 +00:00
wiz
29ce0187b9 Sort options in SYNOPSIS. 2006-10-09 21:38:17 +00:00
wiz
7927d9d5f0 Fix a typo. 2006-10-09 21:36:18 +00:00
skrll
8e824ab13e Make this compile without KTRACE.
From Sergey Svishchev in a private email.
2006-10-09 21:32:29 +00:00
wiz
9dedcd8f8b Remove trailing whitespace.
Remove a partially duplicated sentence.
2006-10-09 21:31:29 +00:00
scw
056c6fdd05 Some removable umass(4) devices don't respond to mode sense page 6, or
simply return zero for logical block size. In either case, use the sector
length reported by READ_CAPACITY instead of defaulting to 512 bytes.

This partially addresses the problems reported in PR port-i386/34707 and
PR kern/34737. Namely the incorrectly reported drive geometry and the
'hanging' issue.

However, since the device in question reports 2048-byte physical sectors
it will remain unusable until DEV_BSIZE is banished.
2006-10-09 21:29:14 +00:00
bjh21
d6e105789d The correct number of elements to insert into cmd_iohs is WDC_NREG. Using
larger numbers risks a buffer overflow and panic.  Bug spotted by Mike Pumford.
Patch compile-tested only, but it's obviously correct.
2006-10-09 21:12:44 +00:00
apb
71ba9763cb Configure the bootstrap make in such a way that it can use a shell other
than "sh" for executing commands.  Useful in a cross-build environment.

* Do not define _PATH_BSHELL, because it is no longer used by make.

* In addition to _PATH_DEFSHELLDIR (the directory in which the default
  shell can be found), define _BASENAME_DEFSHELL (the shell's basename).

* Use shell builtin string manipulation instead of sed to extract
  the directory name and basename from $BSHELL.

OK sjg, christos
2006-10-09 20:51:05 +00:00
apb
4e86f6ddf0 In a non-native build, always use a shell to execute commands. This may
be necessary in a weird cross-build environment.  Previously, if the
command looked simple enough, we would try to exec it directly.

OK sjg, christos
2006-10-09 20:46:33 +00:00
jkunz
007f7a7a2a Bringing up a fpa(4) interface on sparc(64) causes a hard kernel crash
(infinite loop) due to the way fpa(4) interacts with bus_dma(9).
This fixes the problem and makes fpa(4) usable on sparc(64).
2006-10-09 20:45:19 +00:00
apb
cd195008c6 Allow make(1) to be built with something other than "sh" as the
shell.  To use this, build with -D_PATH_DEFSHELLDIR=\"/path/to/dir\"
-D_BASENAME_DEFSHELL=\"shell\".

* Change the order of entries in shells[].  Now DEFSHELL defaults to 0,
  and shells[0] describes the default shell.  This will be "sh" in the
  usual case.

* If _BASENAME_DEFSHELL is defined, insert an additional entry above
  "sh" in the shells[] array, making this new entry shells[0].  The
  new entry is assumed to refer to an sh-compatible shell with a
  non-standard name.  (Tested using _PATH_DEFSHELLDIR="/usr/pkg/bin" and
  _BASENAME_DEFSHELL="bash".)

* In the shells[] entry for "sh", test defined(MAKE_NATIVE) &&
  defined(__NetBSD__) to decide whether we can use the "q" flag.

OK sjg, christos
2006-10-09 20:44:35 +00:00
cube
199c1347ea Add an entry for the 2 UARTs version of the Moschip NM9835. 2006-10-09 20:33:04 +00:00
cube
5816119e8b Regen. 2006-10-09 20:31:57 +00:00
cube
ed6585967f Add one puc device by Moschip (formerly NetMos). Not the one I have, but
as I went through the datasheets...
2006-10-09 20:31:03 +00:00
apb
5e0e754292 Change the order of several items to ensure that
top can work without a termcap "li" capability.
Fixes PR 34717 by der Mouse.
2006-10-09 19:49:51 +00:00
ghen
0a24df9523 Add catpage for tcp_congctl(9). No cookie for rpaulo. 2006-10-09 19:33:22 +00:00
rpaulo
bd82368bbd Add a bit more info. 2006-10-09 18:58:40 +00:00
rpaulo
e824aed9d8 Mention removal of net.inet.tcp.newreno. 2006-10-09 18:57:30 +00:00
rpaulo
6dbb30fffb mention tcp_congctl 2006-10-09 18:55:42 +00:00
oster
2cc8598250 Add #inclusion protection.
vax/uba/qevent.h has been vax/qevent.h for ages now.
Fixes -current build on vax.
2006-10-09 18:42:59 +00:00
dyoung
52f0206b50 Bug fix: do not try to destroy a NULL socket. Stops the kernel
from crashing when a GRE over UDP instance of gre(4) is destroyed
before its socket is created/delegated.
2006-10-09 17:54:23 +00:00
christos
2b5046cce5 include headers needed for the ioctls. 2006-10-09 17:04:36 +00:00
gdamore
454c4680f1 Add man pages for SPI, m25p flash, and tm121temp devices. I'm holding off
creating an spiflash man page until the framework settles, and I'd
ultimately like to create section 9 pages for SPI.
2006-10-09 16:51:51 +00:00
rpaulo
f3330397f0 Modular (I tried ;-) TCP congestion control API. Whenever certain conditions
happen in the TCP stack, this interface calls the specified callback to
handle the situation according to the currently selected congestion
control algorithm.
A new sysctl node was created: net.inet.tcp.congctl.{available,selected}
with obvious meanings.
The old net.inet.tcp.newreno MIB was removed.
The API is discussed in tcp_congctl(9).

In the near future, it will be possible to selected a congestion control
algorithm on a per-socket basis.

Discussed on tech-net and reviewed by <yamt>.
2006-10-09 16:27:07 +00:00
christos
5883c53809 regen. 2006-10-09 14:59:41 +00:00