Commit Graph

68443 Commits

Author SHA1 Message Date
Mitsuru IWASAKI
586cd03a19 Oops, wrong option name. It's should be ACPI_MAX_THREADS,
not ACPI_NO_THREADS.
2001-12-25 06:06:56 +00:00
Andrey A. Chernov
b12990ca58 Preserve errno.
According to C99:
"The  functions  atof,  atoi,  atol, and atoll need not
affect the value of  the  integer  expression  errno  on  an
error.   If  the  value of the result cannot be represented,
the behavior is undefined."
2001-12-25 04:10:50 +00:00
Matthew Dillon
9dd4281db8 Fix type-o in previous commit (tsleep was using wrong rendezvous point) 2001-12-25 01:23:25 +00:00
Alfred Perlstein
8f5c93f79f backout rev 1.14, it's breaking things. 2001-12-24 22:27:04 +00:00
Robert Watson
c9686721ef o sysctl.conf cannot be used to set sysctls that are present in
unloaded kernel modules.  Remove the example linux compat sysctls
  because they break if the linux emulator is loaded as a module, rather
  than compiled in.  Add a BUGS entry indicating as much.

Reported by:	jack <jack@germanium.xtalwind.net>
MFC after:	3 days
2001-12-24 20:18:45 +00:00
Ruslan Ermilov
3a289cbae7 Document MODULES_OVERRIDE.
PR:		docs/32560
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2001-12-24 19:34:33 +00:00
Thomas Moestl
ded9ba2253 Add -mcmodel=medlow to COPTS. This is needed to build working kernels. 2001-12-24 13:35:43 +00:00
Alexey Zelkin
0388ec7cac Back out recent replacement of LC_MESSAGES file with directory.
Requested by:   ache
2001-12-24 11:49:49 +00:00
Ruslan Ermilov
ec60ea2faa MFV: FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6, POSIX.1-2001. 2001-12-24 08:59:48 +00:00
Warner Losh
24a030c4eb Add note about __stdoutp to the compat stuff.
Submitted by: ru
2001-12-24 07:04:23 +00:00
Jun Kuriyama
470c78a6ea Possibly typo fix (s/FXP_PORT_SOFTWARE_RESET/FXP_PORT_SELECTIVE_RESET/)
in fxp_stop().

Reference:	http://www.freebsd.org/cgi/mid.cgi?id=7md718f0qo.wl@waterblue.imgsrc.co.jp
Submitted by:	Keiichi SHIMA <keiichi@iij.ad.jp>
2001-12-24 05:32:58 +00:00
Mike Heffner
85fa4c76e5 Argh...save buffer before committing. NO_WERROR takes a value of
'yes', not 2.
2001-12-24 03:24:28 +00:00
Mike Heffner
c82005612f WARNS=2 fixup. Set NO_WERROR due to use of 'j' format specifier.
PR:		bin/32567
2001-12-24 03:20:10 +00:00
Seigo Tanimura
5c18b9160d Fix typo first, then controvert. 2001-12-24 01:24:38 +00:00
Chris D. Faulhaber
d235a1a0d7 Specify the full path to mktemp 2001-12-23 22:49:06 +00:00
Bosko Milekic
56b602dd6a On the first day of Christmas bde gave to me:
A [hopefully] conforming style(9) revamp of mb_alloc and related code.
(This was possible due to bde's remarkable patience.)

Submitted by: (in large part) bde
Reviewed by: (the other part) bde
2001-12-23 22:04:08 +00:00
Poul-Henning Kamp
257bc17600 Sort the disknames when we get them from the kernel.
Submitted by:	<anarcat@anarcat.dyndns.org>
2001-12-23 21:43:48 +00:00
Jun Kuriyama
40d4e05fce Merge the changes in the English version (1.149 -> 1.155). 2001-12-23 16:17:50 +00:00
Doug Rabson
e129a83e18 Fix CRITICAL_FORK so that it compiles. 2001-12-23 16:04:29 +00:00
Cameron Grant
193d571957 make mmapped vchans work 2001-12-23 13:10:29 +00:00
Stephen McKay
62de071bfb The previous fix caused cp to emit spurious warnings under some
circumstances.  This is a reworked version of the same fix, that does
not have this defect, and which fixes some style bugs at the same time.

Bug reported and fix reviewed by: bde
2001-12-23 11:16:14 +00:00
Jake Burkholder
dd80955e81 Newer versions of gcc have a bug where switch statements with only
a default: label cause a segmentation fault.  So just return EINVAL
from sysarch.
2001-12-23 07:04:05 +00:00
Jake Burkholder
c54d40ba8b - Add a file for machine dependant loader metdata types. Include this in
machdep.c.
- Adapt to critical_* changes.
2001-12-23 07:02:23 +00:00
Jake Burkholder
784876d773 Define our own version of abs now that we compile with -ffreestanding by
default.
2001-12-23 07:00:24 +00:00
Mike Heffner
9b12c3f313 Fix comment. 2001-12-23 06:12:41 +00:00
Matthew Dillon
6aebdaaf0a Back out an inappropriate backout. If Anyone wants to set the FIFO
level that high they should first fix the problems with the system that
cause silo overflows.  It is far more important for the serial device
to work.
2001-12-23 02:48:25 +00:00
Bruce Evans
f36422c140 Backed out previous unapproved commit. 2001-12-23 02:38:04 +00:00
Matthew Dillon
61056a0454 This problem has been in the serial driver for years, and I occassionally
see people trip over it.  Do not set the FIFO trigger to just before it
would otherwise overflow.  Give it a little more slop so characters aren't
lost if the interrupt is delayed by other system activities.

MFC maybe: 7 days
2001-12-23 00:48:37 +00:00
Chris Costello
d06a764812 o Change the layout of the tagged lists to be like those in acl(3).
o Document the following capabilities: CAP_NET_ADMIN, CAP_SYS_RAWIO,
  CAP_SYS_ADMIN, and CAP_SYS_TTY_CONFIG.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-23 00:19:48 +00:00
Mike Heffner
69131e4050 Add support for ~_, ~x, ~i, ~a, ~A, ~<, and ~r! tilde-escapes. Improve
tilde-escapes documentation.

Mostly obtained from:	NetBSD
2001-12-22 22:16:48 +00:00
Chris Costello
1fc841e3ab Add in the new security documentation guidelines document.
Obtained from:	NAI Labs CBOSS Project
Sponsored by:	DARPA, NAI Labs
2001-12-22 22:07:02 +00:00
Robert Watson
7270230e88 o s/softupdates/it/ to reduce over-use of 'softupdates' in a single
paragraph.
2001-12-22 21:02:33 +00:00
Robert Watson
b2e2e310fd o Softupdates is now enabled by default on non-root file systems. Update
language about softupdates to reference this fact, as well as slightly
  moderate the "recommend Softupdates for use on all filesystems" to
  "most filesystems" so as to be consistent with what sysinstall selects.
2001-12-22 21:01:07 +00:00
Robert Watson
60114b8024 o Most users will use sysinstall(8) for partition layout, rather than
disklabel(8), so add a reference to sysinstall(8).
2001-12-22 20:54:45 +00:00
Bosko Milekic
4878b75e6c Move prototype of _mext_free to mbuf.h, where it belongs, because it is
used in MEXTFREE and needs to be in scope for external MEXTFREE users.

Pointed out by: Chad David <davidc@acns.ab.ca>
Confirmed by: bde
2001-12-22 20:09:08 +00:00
Mitsuru IWASAKI
c573e654b7 Add OS layer ACPI mutex and threading support.
- Temporary fix a bug of Intel ACPI CA core code.
 - Add OS layer ACPI mutex support.  This can be disabled by
   specifying option ACPI_NO_SEMAPHORES.
 - Add ACPI threading support.  Now that we have a dedicate taskqueue for
   ACPI tasks and more ACPI task threads can be created by specifying option
   ACPI_MAX_THREADS.
 - Change acpi_EvaluateIntoBuffer() behavior slightly to reuse given
   caller's buffer unless AE_BUFFER_OVERFLOW occurs.  Also CM battery's
   evaluations were changed to use acpi_EvaluateIntoBuffer().
 - Add new utility function acpi_ConvertBufferToInteger().
 - Add simple locking for CM battery and temperature updating.
 - Fix a minor problem on EC locking.
 - Make the thermal zone polling rate to be changeable.
 - Change minor things on AcpiOsSignal(); in ACPI_SIGNAL_FATAL case,
   entering Debugger is easier to investigate the problem rather than panic.
2001-12-22 16:05:41 +00:00
Jun Kuriyama
1b3d626a13 Merge the changes in the English version. 2001-12-22 15:26:46 +00:00
Robert Watson
bcb3e22d61 o Expand on the definition of a sysctl, and add cross-references to
rc.conf and sysctl.conf.

MFC after:	3 days
2001-12-22 14:25:31 +00:00
Robert Watson
07f4b9740e o Refer to hw.ata.wc as a 'loader tunable' rather than a 'kernel variable'
for consistency with the rest of the document.  Since we've already
  described the properties of loader tunables elsewhere, remove the
  duplicate description of it being a boot-time property.

MFC after:	3 days
2001-12-22 14:21:20 +00:00
Robert Watson
d888f91feb o Update tuning(7) to reflect auto-tuning of kern.maxusers in recent
versions of FreeBSD.  This should be merged before 4.5-RELEASE, as this
  functionality is present in 4.5-RELEASE.

MFC after:	3 days
2001-12-22 14:19:20 +00:00
Alfred Perlstein
a2d440dae0 declare locally used globals as static. 2001-12-22 12:35:03 +00:00
Jimmy Olgeni
95d5259efc Add an entry for Eterm. 2001-12-22 11:13:42 +00:00
Gary Jennejohn
358969b6dd Update my email address, forgot to do this before.
MFC after:	4 weeks
2001-12-22 10:08:48 +00:00
Gary Jennejohn
a5fad09996 Add the ifpi2 driver. Reminded by hm.
MFC after:	4 weeks
2001-12-22 09:59:56 +00:00
Gary Jennejohn
a7df5f1bd8 Add the AVM Fritz!Card PCI version 2 controller.
MFC after:	4 weeks
2001-12-22 09:47:46 +00:00
Gary Jennejohn
d40d5b1e57 Add a manpage for the ifpi2 driver.
MFC after:	4 weeks
2001-12-22 09:38:53 +00:00
Gary Jennejohn
bc336958bb Add support for the AVM Fritz!Card PCI version 2 controller.
MFC after:	4 weeks
2001-12-22 09:38:24 +00:00
Gary Jennejohn
1823355cab Add the ifpi2 driver.
MFC after:	4 weeks
2001-12-22 09:29:03 +00:00
Gary Jennejohn
dc16760bf7 Add support for the AVM Fritz!Card PCI version 2 controller.
MFC after:	4 weeks
2001-12-22 09:25:55 +00:00
Gary Jennejohn
c3e8386594 Add a driver for the AVM Fritz!Card PCI version 2 ISDN controller.
MFC after:	4 weeks
2001-12-22 09:22:02 +00:00