Commit Graph

112985 Commits

Author SHA1 Message Date
ru
89b6cbb830 Added the convenience "distribution" target which calls the
target of the same name from src/etc/Makefile with a proper
environment, suitable to be used during upgrades and cross-
builds.
2005-02-27 12:11:35 +00:00
ru
eaef48140d Make it clear we no longer support source upgrades from
versions prior to 5.3.
2005-02-27 11:51:46 +00:00
ru
033848fcf2 Add missing continuation. 2005-02-27 11:48:45 +00:00
mlaier
79bd411879 Unbreak the build. carp_iamatch6 and carp_macmatch6 are not supposed to be
static as they are used elsewhere.
2005-02-27 11:32:26 +00:00
ru
6219bc045a As threatened, drop support for source upgrades from pre-5.3.
Inspired by:	obrien
2005-02-27 11:22:58 +00:00
njl
a3610e9a0a command_args is redundant.
Submitted by:	Pawel Worach
2005-02-27 07:11:47 +00:00
njl
4df8faa9ca Due to a couple complaints about C3 failing on an old Compaq Armada and
a mobile Celeron, disable it by default for the release.  We'll have to
nail the last few cases later.
2005-02-27 04:05:50 +00:00
njl
8470833e72 Make a pass through all drivers checking specs for desired behavior on
SMP systems.  It appears all drivers except ichss should attach to each
CPU and that settings should be performed on each CPU.  Add comments about
this.  Also, add a guard for p4tcc's identify method being called more than
once.
2005-02-27 02:43:02 +00:00
gad
c3f28679d9 The previous commit was *not* an MFC of any revision! I do intend to MFC
it, but one obviously doesn't MFC changes *into* -current!
2005-02-27 02:01:31 +00:00
njl
ec79b216a6 Move the AC line checking code into its own function, reducing the
ifdef __i386__ stuff for APM.  Tested as working correctly on i386 and
compile-tested on sparc64.
2005-02-27 01:58:49 +00:00
gad
35a8edad83 MFC 1.22: Fix -0 vs -L/-I processing, mainly so that 'xargs -0 -I []' will
do something sensible (namely: treat then '\0' as the EOL character, when
deciding what "a line" is for -N).  Note that  -I implies -N.

MFC after:	3 days
2005-02-27 01:35:54 +00:00
njl
89f7f70b5a Add locking to handle multiple threads getting/setting frequencies at the
same time.  We use an sx lock and serialize the cpufreq device's
get/set/levels methods.
2005-02-27 01:34:08 +00:00
marcel
aa305f93fa Unbreak !i386 platforms. Only i386 has APM, so don't try to fallback
on APM on other platforms.
2005-02-27 00:23:19 +00:00
trhodes
5062f9804f Use ~/.login_conf when discussing a user's local file.
Suggested by:	ru
2005-02-26 23:41:04 +00:00
bmah
9893a32d45 Correct the minimum RAM requirements for i386 (24 MB to install,
12 MB to run).  These technically reflect 5.3-RELEASE figures,
but are probably closer to reality than the older numbers (8MB / 7MB).

While here, s/megs/MB/ to consistify our terminology.

PR:		docs/77304
Submitted by:	Ramiro Aceves
2005-02-26 23:40:09 +00:00
njl
80e6d656b9 Change the default levels for adaptive mode to 80% and 90%. On a system
with moderate IO going on, system usage can hover around 65-77% even
though it would benefit from higher performance.  Typically, only truly
idle systems pass the 90% mark so only demote then.
2005-02-26 23:22:00 +00:00
simon
56222bcc49 Add some commas and improve grammar.
Suggested by:	trhodes
2005-02-26 23:19:11 +00:00
njl
a71edac261 Remove SRCS line since it isn't needed for single-source programs.
Pointed out by:	ru
2005-02-26 22:50:25 +00:00
cognet
87e5b0734e Only provide the dummy, non-atomic atomic_cmpset_32() if
ARM_HAS_ATOMIC_CMPSET_32 isn't defined.
2005-02-26 22:49:19 +00:00
njl
84199527a0 Note addition of p4tcc, new sysctls and tunable, update mdoc. 2005-02-26 22:48:04 +00:00
cognet
8062d7f9d6 Add a new option, ARM_CACHE_LOCK_ENABLE (I forgot it in my last commit). 2005-02-26 22:41:07 +00:00
njl
c81a454495 Allow users to reject levels below a given frequency (in MHz) via the
debug.cpufreq.lowest tunable and sysctl.  Some systems seem to have problems
with the lowest frequencies so setting this prevents them from being
available or used.
2005-02-26 22:37:49 +00:00
ru
ddbb1ac440 Add a note about new format of LC_CTYPE files. 2005-02-26 22:26:10 +00:00
njl
3cc482f20b Don't bother with cpufreq_register if we're info-only.
Suggested by:	Jung-uk Kim
2005-02-26 22:09:05 +00:00
simon
3f6c251a0f Remove redundant .Pp call.
Spotted by:	ru
2005-02-26 22:06:49 +00:00
ru
15cdd48444 Added the "buildenv" target, for developers only!
CAVEAT: if you run tcsh(1) from within this target, this will
reset your PATH making this target mostly useless.  Careful!

Submitted by:	jmg, ru
2005-02-26 22:02:18 +00:00
bmah
112a8f4517 New release notes: ng_netflow(4) (+MFC) [1], syslog(3) thread-safe
(+MFC) [1], no ports/INDEX* in CVS (+MFC), GNOME 2.8.3 (+MFC), KDE
3.3.2 (+MFC), Xorg 6.8.1 (+MFC).

Wordsmithing:  pkg_version(8) -q.

Submitted by:	glebius [1]
2005-02-26 21:58:58 +00:00
simon
87c5bcdac2 - Auto generate device listing for snd_neomagic(4).
MFC after:	3 days
2005-02-26 21:48:34 +00:00
ru
215081ffba Make the format of LC_CTYPE files architecture independent by
introducing the disk formats for _RuneLocale and friends.

The disk formats do not have (useless) pointers and have 32-bit
quantities instead of rune_t and long.  (htonl(3) only works
with 32-bit quantities, so there's no loss).

Bootstrap mklocale(1) when necessary.  (Bootstrapping from 4.x
would be trivial (verified), but we no longer provide pre-5.3
source upgrades and this is the first commit to actually break
it.)
2005-02-26 21:47:54 +00:00
simon
7b0b7015e2 - Add manual page for snd_neomagic(4).
PR:		docs/78127
Submitted by:	Joel Dahl <joel@automatvapen.se>
MFC after:	3 days
2005-02-26 21:42:43 +00:00
njl
4c869b850b Add rc.conf options for powerd (disabled by default) and hook the script
up to the build.
2005-02-26 21:19:35 +00:00
njl
6c5047f826 Add an rc script for powerd(8). 2005-02-26 21:18:54 +00:00
njl
32558ae36a Hook powerd up to the build. 2005-02-26 21:18:20 +00:00
njl
0b00d0e028 Import powerd(8), a utility for managing power consumption. Currently, it
just uses cpufreq(4) but in the future it should also do things like spin
down disks.  This is based on the work by Colin Percival (called "estctrl").
2005-02-26 21:17:31 +00:00
njl
b6b864f028 Make power_profile not touch cpufreq by default. 2005-02-26 21:01:22 +00:00
njl
3e776b3cda Add the ability to specify "NONE" if the user wants no change for the
given power profile.

MFC after:	1 day
2005-02-26 20:17:07 +00:00
cognet
1d3e66119d Bring in a more healthy version of the libpthread for arm, which uses
ARM_TP_ADDRESS.
2005-02-26 19:06:49 +00:00
cognet
215f3724e9 Instead of using sysarch() to store-retrieve the tp, add a magic address,
ARM_TP_ADDRESS, where the tp will be stored. On CPUs that support it, a cache
line will be allocated and locked for this address, so that it will never go
to RAM. On CPUs that does not, a page is allocated for it (it will be a bit
slower, and is wrong for SMP, but should be fine for UP).
The tp is still stored in the mdthread struct, and at each context switch,
ARM_TP_ADDRESS gets updated.

Suggested by:   davidxu
2005-02-26 18:59:01 +00:00
sam
ff9e0a0b15 plug memory leak
Noticed by:	Coverity Prevent analysis tool
2005-02-26 18:55:53 +00:00
ps
8a9f0287c7 Minor cleanup in nfs_request() and removal of a comment that doesn't
reflect reality.

Submitted by:	Mohan Srinivasan
2005-02-26 18:55:36 +00:00
sam
b34010820f move ptr deref's to after null checks
Noticed by:	Coverity Prevent analysis tool
2005-02-26 18:52:54 +00:00
bmah
45aee98493 New release notes: moused(8) -V (+MFC).
MFCs noted:  TCP random ephemeral port rate limiting, syslogd(8)
logpriv (with a few grammar fixes), tail -f,

Other changes:  Minor grammar fixes to rc.conf interface renaming and
rc.d/moused notes.
2005-02-26 16:33:04 +00:00
glebius
e4430a0f02 Remove carp_softc.sc_ifp member in favor of union pointers in struct ifnet.
Obtained from:	OpenBSD
2005-02-26 13:55:07 +00:00
yar
e415dfedf2 Add a neat remark on the popular belief that the universe is a safe
the man ought to break open and rob.
2005-02-26 12:49:03 +00:00
davidxu
0c0aa6f24b Mark _rtld_allocate_tls and _rtld_free_tls as weak symbols for Variant I
tls.

Reviewed by: dfr
2005-02-26 10:39:49 +00:00
glebius
9fe33a3c38 Staticize local functions. 2005-02-26 10:33:14 +00:00
das
42533c1784 Un-document the non-extant exp10() and exp10f() functions.
exp10() was a casualty of the transition away from the VAX.
2005-02-26 08:54:45 +00:00
harti
c7007db817 Major clean up and split the Var_Parse monster function into three
functions: one for the single letter variables, one for the others
and one that does the recursive expansion.

Patches:	7.68-7.79

Submitted by:	Max Okumoto <okumoto@ucsd.edu>
2005-02-26 08:54:40 +00:00
wpaul
1e79e22150 Don't need to do MmInitializeMdl() in ndis_mtop() anymore:
IoInitializeMdl() does it internally (and doing it again here
messes things up).
2005-02-26 07:11:17 +00:00
bmah
5c2c0dcf38 MFCs noted: cpufreq(4) (partial), matcd(4) removed, rm(1) -I.
Other changes:  Minor punctuation fixes in hptmv(4) note.
2005-02-26 05:24:40 +00:00