Commit Graph

152227 Commits

Author SHA1 Message Date
cube
ac64cd7dcd Treat AMD CPUs with family > 6 (in fact, 15) the same way as family 6, so
they get cache information right.  PR#32496 by Gregory McGarry.
2006-10-08 15:50:42 +00:00
elad
75783f892c PR/31140: Tetsuya Isaki: driver(9) does not describe about kqfilter 2006-10-08 15:44:25 +00:00
elad
dcd438d489 PR/33434: Jukka Salmi: wrong lp spool directory name in default printcap
Patch applied, thanks!
2006-10-08 15:28:49 +00:00
elad
0dd96e541d PR/19444: IIMURA Takuji: usleep(0); seems to microsleep(1);
Patch applied, thanks!
2006-10-08 15:25:28 +00:00
apb
50ef6180ea If PREVIOUSTOOLDIR was empty, then don't complain that it has moved.
Patch from Jukka Salmi in PR 33095.
2006-10-08 15:21:00 +00:00
elad
0bc9c7b601 PR/10429: Takahiro Kambe: bad144(8) dosen't show disk device.
Patch adapted to -current, thanks!
2006-10-08 14:52:14 +00:00
elad
7eab5cff73 PR/33029: Frank Kardel: /etc/services not up to date?
We probably won't be synchronizing with the IANA list (which is above 14k
lines), but would rather add the services <1024.
2006-10-08 14:30:26 +00:00
elad
805c3d6901 PR/22228: Jeremy C. Reed: a man page for virecover(8)
Man page added, thanks!
2006-10-08 14:19:17 +00:00
tron
77e4af1adc Make sure "libmagic" gets built after "libz". 2006-10-08 13:43:01 +00:00
pooka
9ce83b2450 add example on how to use SUN_LEN()
fixed lib/34744 by Christian Biere
2006-10-08 13:08:33 +00:00
bjh21
78a2e1354b Use RCSID(). 2006-10-08 12:41:51 +00:00
bjh21
78659f1508 Go back to not saving R14 on 32-bit CPUs, with the saving being conditional
on __PROG26.  This should make everyone happy except for those who don't like
#ifdefs.
2006-10-08 12:28:24 +00:00
bjh21
ecd6759513 Expose __PROG26 to assembly language so we can use it to decide whether
R14 is vulnerable.
2006-10-08 12:22:35 +00:00
bjh21
dc284185fb Use LDR/STR rather than LDM/STM for saving R14 over L_cksumdata. LDM/STM
are apparently very slow on some processors.  This is an interim measure
while I work out how to expose __PROG{26,32} to assembly language.
2006-10-08 12:06:53 +00:00
scw
4f8db3981d Add the 'volatile' qualifier to all descriptor fields to prevent the
compiler optimising away or reordering accesses to them.

Fixes ehci(4) on NetBSD/evbarm when using -Os optimisation. It's likely
ohci(4) and uhci(4) are similarly afflicted, so the same changes have
been made there.

Quite how other platforms got away without this for so long is a mystery...
2006-10-08 11:52:48 +00:00
yamt
ce8b831234 tcp_output: don't make TSO duplicate CWR/ECE. 2006-10-08 11:10:59 +00:00
yamt
713f438722 tcp_output: don't try to send SACK option larger than txsegsize.
fix a panic like "panic: m_copydata: off 0, len -7".
2006-10-08 11:01:46 +00:00
xtraeme
85ff1590b2 Sync list of supported drivers with the code, patch by Claus
Andersen via PR kern/34754.
2006-10-08 08:57:19 +00:00
rillig
bec39efa30 Added a reference to ipcs(1), since that's where one can find out more
about the semaphore limits in case of [ENOSPC].
2006-10-08 08:22:34 +00:00
xtraeme
337d5c1a2f regen 2006-10-08 08:14:45 +00:00
xtraeme
68d8faa258 Added support for the following devices:
* Matrix Orbital MX4/MX5 Series
 * Crystal Fontz CFA-635 LCD

Patch sent by Claus Andersen via PR kern/34753.
2006-10-08 08:14:24 +00:00
pooka
e2f3993f69 VOP_REMOVE is supposed to vput the arguments before returning instead
of keeping them locked
2006-10-08 08:13:56 +00:00
pooka
2fc4655faf add missing depedency on libz, reported by salo 2006-10-08 08:07:34 +00:00
mlelstv
e19fb1ec00 Use last track info only if it gives a sane value. Fixes PR#34688. 2006-10-08 07:50:16 +00:00
thorpej
b3971ecdf5 Put common/lib/libc/stdlib into .PATH. From Hisashi T Fujinaka. 2006-10-08 04:31:55 +00:00
thorpej
04e486d9f8 Add specificdata support to procs and lwps, each providing their own
wrappers around the speicificdata subroutines.  Also:
- Call the new lwpinit() function from main() after calling procinit().
- Move some pool initialization out of kern_proc.c and into files that
  are directly related to the pools in question (kern_lwp.c and kern_ras.c).
- Convert uipc_sem.c to proc_{get,set}specific(), and eliminate the p_ksems
  member from struct proc.
2006-10-08 04:28:44 +00:00
thorpej
31adc576d7 Add subroutines for maintaining object-specific data for arbitrary
subsystems, based on work by YAMAMOTO Takashi.  This is intended to
be used by other subsystems (such as the proc_*() or lwp_*() routines)
rather than directly by consumers.
2006-10-08 04:21:53 +00:00
thorpej
82fd1ebbaa - Move strtoll.c and strtoull.c from libc/stdlib to common/libc/stdlib.
- Add strtoll.c and strtoull.c to libkern.
2006-10-08 03:14:55 +00:00
dogcow
789d2004b7 fix typo in 'config_finalize_register' 2006-10-08 02:56:52 +00:00
oster
1d51ed695f Re-work some of the initialization code to now use config_attach_pseudo()
and friends.  Addresses PR#32881.  BOOT_FROM_RAID_HOOKS dies.
More simplification possible now.
2006-10-08 02:39:01 +00:00
dogcow
859dcf3c5f add all the proper fields to _proxy 2006-10-08 02:34:51 +00:00
elad
ccf0312fe1 PR/32762: Magnus Eriksson: opl(4) states that it "[sounds] awful", please
rephrase

Reworded. Submitter is absolutely correct.
2006-10-07 23:40:18 +00:00
elad
009a00a3c3 PR/29220: Jachym Holecek: Document additional irq fixup for cbb(4).
Patch applied, thanks!
2006-10-07 23:35:39 +00:00
elad
d2c044e9f6 PR/22027: Mihai Chelaru: ifmedia(4) is incorrect/incomplete
Thanks!
2006-10-07 23:16:43 +00:00
elad
debd0acd05 Back out previous. This was a dup of PR/29144 that was fixed differently.
Thanks to pavel@ for pointing out, okay oster@.
2006-10-07 23:08:03 +00:00
apb
dc5994b41f /etc/shrc is used by both sh and ksh, but ksh doesn't support
se -o tabcomplete, so test before using it.  Problem reported
by Pavel Cahyna, and fix tested by him.
2006-10-07 22:50:51 +00:00
elad
9580da9e75 PR/32641: David Maxwell: No 'pkgsrc' manpage
Link pkgsrc(7) -> packages(7).
2006-10-07 22:36:57 +00:00
elad
3b60cb06d5 PR/29858: Miles Nordin: diskless(8) man page is wrong about
'option swap-server'

Patch applied, thanks!
2006-10-07 22:23:45 +00:00
elad
a35b07a2ca Correctly recover signal state if failed trying to set it.
Patch from David A. Holland in #NetBSD-code, thanks!
2006-10-07 22:16:19 +00:00
apb
b70c743b65 Include nbtool_config.h for tools build. This was part of the
patch supplied by Wim Lewis in PR 31232.
2006-10-07 22:04:18 +00:00
elad
1210859fa1 Add nit from rillig@ for PR/19603. 2006-10-07 22:02:47 +00:00
apb
26bf5ec9ea Add definitions for strmode. This was missing from the
patch in PR 31232.
2006-10-07 22:00:22 +00:00
elad
4b81c4e0d8 PR/30361: Hanspeter Roth: ath(4) - Netgear WG311 does not have an Atheros
chip

We did some digging, and the Netgear WG311 has three versions. The one
supported by this driver does, in fact, have an Atheros chip. V3 was
already listed as not supported, and the card you are referring to is
a V2 (with the TI chip) -- so a note was added right above the note for
the V3 version.

Input from David A. Holland and mlelstv@ on #NetBSD-code, thanks!
2006-10-07 21:46:50 +00:00
peter
d697e40372 PR/34746: Nino Dehne: pf(4)'s synproxy state breaks when used with tags
Apply OpenBSD src/sys/net/pf.c rev 1.486 and 1.487:

1.486:
When synproxy sends packets to the destination host, make sure to copy
the 'tag' from the original state entry into the outgoing mbuf.

1.487:
When synproxy completes the replayed handshake and modifies the state
into a normal one, it sets both peers' sequence windows. Fix a bug where
the previously advertised windows are applied to the wrong side (i.e.
peer A's seqhi is peer A's seqlo plus peer B's, not A's, window). This
went undetected because mostly the windows are similar and/or re-
advertised soon. But there are (rare) cases where a synproxy'd connection
would stall right after handshake. Found by Gleb Smirnoff.
2006-10-07 21:45:49 +00:00
rpaulo
6080ffe830 PR 30716: rc.d/ntpd{,ate} precedes rc.d/rtsold. By Ed Hynan.
rc.d/rtsold should be in the same start up line as dhclient.
2006-10-07 21:41:41 +00:00
thorpej
2e2d300f43 Grr, adjust last so that it works with our busted lint(1). 2006-10-07 21:40:46 +00:00
gdamore
0ccaea15ce Fix an incorrect calculation for the destination X direction when doing
blitting.  Thanks to David Redman (Tadpole) for noticing it.   This probably
escaped notice before, since we never do overlapping blits (in the X
direction), but this fix may prevent problems if someone ever does use it
for that.
2006-10-07 21:36:12 +00:00
apb
bed8b72282 Clarify that gethostbyname and gethostbyname2 can deal with
string representations of numeric addresses.  PR 28667
2006-10-07 21:30:39 +00:00
he
80d2ffd230 Cast addresses to int before doing arithmetic on them, as in uses
of roundup().
2006-10-07 21:13:02 +00:00
elad
854038392c PR/30819: Peter Postma: src/usr.bin/shlock has no license
Thanks to Matt Fleming for contacting Erik E. Fair and getting his
agreement to put a TNF license on this.
2006-10-07 21:13:00 +00:00