Warner Losh
0e4c175bb9
Merge a little from NetBSD.
2002-03-05 16:06:54 +00:00
Eivind Eklund
eb8e6d5276
Document all functions, global and static variables, and sysctls.
...
Includes some minor whitespace changes, and re-ordering to be able to document
properly (e.g, grouping of variables and the SYSCTL macro calls for them, where
the documentation has been added.)
Reviewed by: phk (but all errors are mine)
2002-03-05 15:38:49 +00:00
Robert Drehmel
6f60771b6d
Fix a warning.
2002-03-05 15:19:33 +00:00
Jacques Vidrine
d96f3089f2
Fix off-by-one error.
...
Obtained from: OpenBSD
2002-03-05 14:27:19 +00:00
Poul-Henning Kamp
c794254d96
Move sysctl debug.sizeof into sys/sysctl.h where it belongs.
2002-03-05 13:56:58 +00:00
Dag-Erling Smørgrav
7e7f2e51f0
This commit was generated by cvs2svn to compensate for changes in r91684,
...
which included commits to RCS files with non-trunk default branches.
2002-03-05 13:49:56 +00:00
Dag-Erling Smørgrav
4579d22cac
Vendor import of OpenPAM Celandine.
2002-03-05 13:49:56 +00:00
Poul-Henning Kamp
26facaeb4d
If in strategy we find that we have no devsw on the device anymore we
...
are probably talking about some disk-device which wente away, so
return ENXIO instead of panicing.
2002-03-05 13:25:57 +00:00
Brian Somers
b84271d866
Don't drop the last character from ut_line in ID0logout().
...
PR: 35531
MFC after: 2 weeks
2002-03-05 13:03:11 +00:00
Dag-Erling Smørgrav
e3cd129613
Add missing dependency on libutil.
2002-03-05 12:52:03 +00:00
Yoshihiro Takahashi
3af6b50453
Don't move more drivers to mfsroot floppy.
...
A mfsroot floppy for pc98 is only 1.2MB.
2002-03-05 11:53:56 +00:00
Robert Drehmel
83ea6c23b5
- Fix seeking for offsets requiring more than 32 bits.
...
- Add sanity checks to lookup().
- Implement the 'l' modifier in printf().
Submitted by: tmm
2002-03-05 11:22:43 +00:00
Seigo Tanimura
5d0451a3ed
Add sys/dev/ufm.c.
...
Forgotten by: alfred
Spotted by: LINT
2002-03-05 11:19:23 +00:00
Mike Barcroft
68ed097b75
Initialize `output' in a more proper location.
...
Submitted by: roam
2002-03-05 10:58:06 +00:00
Maxim Konovalov
7b65fef03a
Unbreak PAP-only authentication.
...
PR: i386/34607
Not objected by: peter
Approved by: ru
Obtained from: ppp-2.4.1b2
MFC after: 1 week
2002-03-05 10:50:55 +00:00
Maxim Konovalov
21147bea38
Remove duplicated and wrong sc->sc_last_recv setting. It unbreaks
...
active-filter in pppd(8).
PR: kern/12281
Submitted by: Tim Moore <moore@bricoworks.com>
Not objected by: peter
Reviewed by: ru
Approved by: ru
MFC after: 1 week
2002-03-05 10:12:04 +00:00
Jeff Roberson
88c99cfbc8
Add a new variable mp_maxid. This is used so that per cpu datastructures may
...
be allocated as arrays indexed by the cpu id. Previously the only reliable
way to know the max cpu id was through MAXCPU. mp_ncpus isn't useful here
because cpu ids may be sparsely mapped, although x86 and alpha do not do this.
Also, call cpu_mp_probe much earlier so the max cpu id is known before the VM
starts up. This is intended to help support per cpu queues for the new
allocator, but may be useful elsewhere.
Reviewed by: jake
Approved by: jake
2002-03-05 10:01:46 +00:00
Søren Schmidt
11de413756
Misc little cleanups:
...
Link if only ATAPI device in kernel config
Remove unused #includes
Rearrange a bit in ata-raid to make diff against -stable smaller
Enable wc as default again, dunne how this happend...
2002-03-05 09:24:19 +00:00
Hajimu UMEMOTO
b5a8f767a6
- Speedup 3DES by using assembly code for i386.
...
- Sync des/blowfish to more recent openssl.
Obtained from: KAME/NetBSD
MFC after: 2 weeks
2002-03-05 09:19:02 +00:00
Marcel Moolenaar
2242af42cf
Call ast() only when we're handling a user trap.
2002-03-05 06:13:22 +00:00
Warner Losh
78a30c40c2
Buffalo LPC3-CLT
...
Submitted by: TANAKA Tomohiko <tomo@oso.to>
PR: 34954
2002-03-05 05:51:30 +00:00
Warner Losh
8ad7b5c2c1
Fix Simple Tech STI-ATA
...
Submitted by: dwhite@paypal.com
PR: 34243
2002-03-05 05:48:32 +00:00
Warner Losh
cc076b2a5c
US Robotics Wireless Card 2410
...
Submitted by: Jerry A! <jerry@thehutt.org>
PR: 33858
2002-03-05 05:44:28 +00:00
Warner Losh
250a0cef8f
Use ANSI-99 int names (uintXX_t) over traditional BSD int names
...
(u_intXX_t).
2002-03-05 05:28:49 +00:00
Mike Barcroft
51883012f6
Fix vendor ID (mostly obtained from Rev 1.1).
2002-03-05 05:17:30 +00:00
Jake Burkholder
3ff2c61db8
Add fpsetmask(). Needed to build miniperl.
...
Obtained from: netbsd
2002-03-05 04:03:57 +00:00
Jake Burkholder
f496405572
Fix a bug where siglongjmp would clobber the argument to return from
...
sigsetjmp. It would return the value of the signal flag, instead.
Pointy hat to: jake
2002-03-05 04:02:04 +00:00
Juli Mallett
0e01f18b86
Add base64 support to uuencode(1) and uudecode(1), as specified by SUSv3.
...
Add `-o' option to uuencode(1) to pipe the uuencoded output to an
arbitrary file, instead of just stdout.
Reviewed by: -standards, mike
Approved by: mike
2002-03-05 03:27:47 +00:00
Seigo Tanimura
996abba928
Track the number of wired pages to avoid unwiring unwired pages.
...
Reviewed by: alfred
2002-03-05 00:51:03 +00:00
David E. O'Brien
fcd0ff585f
Allow for better control over the GCC front-end when building a cross
...
compiler.
* Undo the diking out of cross compiler logic from gcc.c rev 1.16.
* Add the `CROSS_STARTFILE_PREFIX' knob.
* Add our own definition of `STANDARD_INCLUDE_DIR'. This should have been
included in freebsd-native.h rev 1.5.
2002-03-05 00:17:24 +00:00
Crist J. Clark
3174c81c9c
Unbreak bridge.ko. Replace an unresolved symbol with the actions it
...
was meant to take.
Submitted by: luigi
Approved by: luigi
MFC after: 3 days
2002-03-05 00:07:17 +00:00
Thomas Moestl
49a64cb475
Connect the sparc64 userland fp emulator to the build.
2002-03-05 00:00:40 +00:00
Brooks Davis
3d4ce33dbf
Add cloning support to the loopback interface.
...
Submitted by: mux
2002-03-04 21:46:00 +00:00
Brooks Davis
b75496fedf
Change the network interface cloning API so the destroy function returns
...
an int errorcode instead of void in preperation for merging cloning of
the loopback device.
Submitted by: mux
MFC after: 2 weeks
2002-03-04 21:43:49 +00:00
Søren Schmidt
de7997511b
Update headers
2002-03-04 21:11:30 +00:00
Søren Schmidt
cd82af3c08
Update header.
2002-03-04 21:08:35 +00:00
Søren Schmidt
17744fcb98
fix the wildrunning % counter.
2002-03-04 20:50:16 +00:00
Mark Murray
20bee7c8de
ANSIfication, WARNS and lint cleanup.
2002-03-04 20:27:38 +00:00
Alan Cox
2be21c5e68
o Create vm_pageq_enqueue() to encapsulate code that is duplicated time
...
and again in vm_page.c and vm_pageq.c.
o Delete unusused prototypes. (Mainly a result of the earlier renaming
of various functions from vm_page_*() to vm_pageq_*().)
2002-03-04 18:55:26 +00:00
Mitsuru IWASAKI
899ccf541a
Add generalized power profile code.
...
This makes other power-management system (APM for now) to be able to
generate power profile change events (ie. AC-line status changes), and
other kernel components, not only the ACPI components, can be notified
the events.
- move subroutines in acpi_powerprofile.c (removed) to kern/subr_power.c
- call power_profile_set_state() also from APM driver when AC-line
status changes
- add call-back function for Crusoe LongRun controlling on power
profile changes for a example
2002-03-04 18:46:13 +00:00
Doug Rabson
2d0639e55d
Add PSEUDOFS.
2002-03-04 18:01:56 +00:00
Bruce A. Mah
be256d7029
Fix two typos: s/verison/version
...
Submitted by: hrs
2002-03-04 16:57:41 +00:00
Dag-Erling Smørgrav
0ec22bf577
Forced commit to note that the previous revision applied jdp's own patch for
...
the RTLD_GLOBAL problem, not mine.
2002-03-04 16:17:38 +00:00
Doug Rabson
1fc142b38f
Add emulation support for PAL_VM_SUMMARY.
2002-03-04 12:47:47 +00:00
Alexey Zelkin
6d0e1e8588
Add support for french and german locales in tcsh's way.
...
. link fr_FR.* to fr_BE, fr_CA, fr_CH
. link de_DE.* to de_AT, de_CH
Obtained from: src/bin/csh/nls/Makefile
2002-03-04 12:37:08 +00:00
Alexey Zelkin
c1633140b7
Use NLSLINKS to setup symbolic links in NLS area
2002-03-04 12:29:21 +00:00
Alexey Zelkin
0aa35985b9
. Add support for making NLS links
...
. Target definitions tweaks
2002-03-04 12:27:00 +00:00
Alexey Zelkin
bd93868f5a
This file is not used anymore
2002-03-04 11:10:17 +00:00
Alexey Zelkin
cf355fd5f9
Slightly relax requirements to set per-file variables
2002-03-04 10:59:37 +00:00
Alexey Zelkin
f66b3927b3
Use bsd.nls.mk for building/installing NLS files
...
XXX: links handling simplify
2002-03-04 10:34:51 +00:00