Commit Graph

70964 Commits

Author SHA1 Message Date
tmm
1e66eafc6c Connect the sparc64 userland fp emulator to the build. 2002-03-05 00:00:40 +00:00
brooks
be085a899e Add cloning support to the loopback interface.
Submitted by:	mux
2002-03-04 21:46:00 +00:00
brooks
50d3be4c82 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
sos
a7336f1ad6 Update headers 2002-03-04 21:11:30 +00:00
sos
2c0a4c3bc1 Update header. 2002-03-04 21:08:35 +00:00
sos
c98de616cb fix the wildrunning % counter. 2002-03-04 20:50:16 +00:00
markm
a40f12cb8f ANSIfication, WARNS and lint cleanup. 2002-03-04 20:27:38 +00:00
alc
42c47fb891 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
iwasaki
3f245d8dd1 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
dfr
3fe10323bf Add PSEUDOFS. 2002-03-04 18:01:56 +00:00
bmah
bfb9bebc76 Fix two typos: s/verison/version
Submitted by:	hrs
2002-03-04 16:57:41 +00:00
des
1bc8cfe065 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
dfr
19b393a8c5 Add emulation support for PAL_VM_SUMMARY. 2002-03-04 12:47:47 +00:00
phantom
e324559440 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
phantom
9124a610d0 Use NLSLINKS to setup symbolic links in NLS area 2002-03-04 12:29:21 +00:00
phantom
5adedc849a . Add support for making NLS links
. Target definitions tweaks
2002-03-04 12:27:00 +00:00
phantom
63f07ef33b This file is not used anymore 2002-03-04 11:10:17 +00:00
phantom
64962bd7fd Slightly relax requirements to set per-file variables 2002-03-04 10:59:37 +00:00
phantom
d12220dfdb Use bsd.nls.mk for building/installing NLS files
XXX: links handling simplify
2002-03-04 10:34:51 +00:00
dd
0b2f9cb783 Redirect stdout of `ipf -y' to /dev/null. This removes a stray
"filter sync'd" in the middle of the boot output if IPFilter is
enabled, but does not hide any potential errors, which go to stderr.
2002-03-04 10:30:24 +00:00
brian
e1efcab9b5 Don't blow away ``set escape'' settings when we've completed the
login phase.  Just initialise the correct parts.

Originially submitted by:	Vladimir B. Machulsky <bofhmail@yahoo.com>
2002-03-04 10:08:57 +00:00
phantom
59a679ac31 Use bsd.nls.mk for building/installing NLS files 2002-03-04 09:52:06 +00:00
phantom
7cccef054f Add basic infrastructure for building and installing Message Catalogs (NLS Catalogs)
Idea obtained from: NetBSD
Reviewed by: silence at -hackers
2002-03-04 09:50:28 +00:00
kuriyama
dc2d000aa4 Activate sparc64 relnotes. 2002-03-04 08:33:27 +00:00
jake
4adfe1f199 Add support for starting secondary cpus in kernel, as opposed to relying
on the loader to do it.  Improve smp startup code to be less racy and to
defer certain things until the right time.  This almost boots single user
on my dual ultra 60, it is still very fragile:

SMP: AP CPU #1 Launched!
Enter full pathname of shell or RETURN for /bin/sh:
# ls
Debugger("trapsig")
Stopped at      Debugger+0x1c:  ta              %xcc, 1
db> heh
No such command
db>
2002-03-04 07:12:36 +00:00
jake
c87ee2427d Dig the information about which tlb slots were used to map the kernel out
of the metadata passed by the loader.
2002-03-04 07:07:10 +00:00
bmah
d35de47e83 Begin building sparc64 release notes for -CURRENT. 2002-03-04 06:46:00 +00:00
alfred
fd4aa99c82 clarify code:
add comments.
don't get the length of each arg passed, only the last one.
check against == or != NULL rather than using a pointer value as
truth test.
2002-03-04 05:30:04 +00:00
jake
8322761809 Allocate tlb contexts on the fly in cpu_switch, instead of statically 1 to 1
with pmaps.  When the context numbers wrap around we flush all user mappings
from the tlb.  This makes use of the array indexed by cpuid to allow a pmap
to have a different context number on a different cpu.  If the context numbers
are then divided evenly among cpus such that none are shared, we can avoid
sending tlb shootdown ipis in an smp system for non-shared pmaps.  This also
removes a limit of 8192 processes (pmaps) that could be active at any given
time due to running out of tlb contexts.

Inspired by:		the brown book
Crucial bugfix from:	tmm
2002-03-04 05:20:29 +00:00
jake
dd2207f5cd Fix obscure problems with vfork where part of the parent's stack could be
clobbered by the child.  This is more complicated than usual because the
window that could get clobbered is pushed in kernel mode, so a lot of
registers would have to be saved in other registers in userland and we
don't have enough.  What we do have is space in the pcb to temporarily
store user windows that were spilled in kernel mode, but could not be
immediately stored to the user stack.  So we copy in the parent's topmost
window and save it in the pcb, and arrange for it to be copied back out
when the child is done frobbing the stack.

Reviewed by:	tmm
2002-03-04 05:07:22 +00:00
alfred
199a58a697 Support for USB fm radio.
Submitted by: David Yeske <dyeske@yahoo.com>
2002-03-04 03:51:21 +00:00
imp
83d361972f Add a bunch of cards from NetBSD and maybe other places.
Ericsson Wireless Lan
Simple Tech Spectrum 24 Alt
Socket LP WLAN CF
Symbol LA4100
2002-03-04 02:59:20 +00:00
orion
0c45c5a171 Suspend and resume related patches from Toshikazu Ichinoseki <t.ichinoseki@nifty.com>.
PR's: kern/35484, kern/35230.
2002-03-04 00:36:04 +00:00
keramida
072ba66d31 Makefile.inc0 is no longer used.
Update comments to reflect that.

Approved by:	dd, silence in -audit.
2002-03-03 22:37:35 +00:00
alc
e56a9ee7ae Call vm_pageq_remove_nowakeup() rather than duplicating it. 2002-03-03 22:36:14 +00:00
bmilekic
4d41cd259b Fix bug in mb_alloc that made systems configured with
PAGE_SIZE / MCLBYTES == 1 crash. Fix them by changing the
appropriate "allocate new page and bucket" code in mb_alloc to use
the macro for properly grabbing an allocated object from a bucket,
the one that checks whether the bucket is empty.
This should allow ken to continue testing zero-copy stuff on -CURRENT.

Noticed and provided debug info: ken
2002-03-03 22:10:04 +00:00
phk
7b0ce36f94 A bit of premptive GEOM POLA magic: If we don't get a virgin disklabel
from /dev/food0, then try from /dev/f00d0c, in strange cases this work.
2002-03-03 21:21:45 +00:00
gioria
72b0228f10 Adding Network Interface Support section 2002-03-03 21:17:15 +00:00
markm
92e030d00a Provide infrastructure for harvesting SWI entropy. 2002-03-03 20:09:42 +00:00
markm
1b3c288707 Massive lint-inspired cleanup.
Remove unneeded includes.
Deal with unused function arguments.
Resolve a boatload of signed/unsigned imcompatabilities.
Etc.
2002-03-03 19:44:22 +00:00
markm
ecb7a599ea (x)lint(1) works; re-enable it. 2002-03-03 19:32:44 +00:00
dfr
c938cb6404 * Include <sys/ucontext.h> so that this compiles again.
* Move the section which manipulates ia64_pal_base to after cninit() so
  that we don't risk printing anything before we have a console.
* Don't call ia64_probe_sapics() for a SKI build. This should really
  be dependant on ACPICA being present or something.
2002-03-03 19:23:15 +00:00
sos
d3537063e7 Forgot this litte patch, scale the individual disk size from the
arrays total size depending on width of the array.
2002-03-03 16:36:19 +00:00
hrs
4499674958 Comment out proc-alpha.sgml's line temporarily. 2002-03-03 16:22:13 +00:00
sos
a40226defb Add the RAID rebuild command. 2002-03-03 15:41:57 +00:00
sos
8703cd1dab Major update of the ATA RAID code, part 3:
Add code to properly detach/attach disks that are part of a RAID.

Mark a disk that is attached on an ATA channel belonging to a
RAID as a spare disk that can be used for rebuilding failed RAID1's.

Add support for rebuilding failed RAID1's.

Several fixes to the detach/attach code.

For replacing a disk in a failed RAID1 do the following:

Find the controller channel# of the failed disk.

Exec 'atacontrol detach <channel#>' to free the disk from the system.

Replace the failed disk with a new one of at least the same size.
If your have your disks in drawers/enclosures this can be done with
the system still running.

Exec 'atacontrol attach <channel#>' to add the disk to the system and
mark it as a valid spare for rebuild.

Exec 'atacontrol rebuild <array#>'

The system will rebuild the array on the fly, the array can still
be used during this, although with slower performance.

Please let me know of any problems with this!

Sponsored by: Advanis Inc.

MFC after: 2 weeks
2002-03-03 15:36:21 +00:00
markm
8207872db7 Merge conflicts, fix Makefiles and remove (re)moved file(s). 2002-03-03 15:12:50 +00:00
sos
7d6830b305 Add new command definition for rebuilding RAID arrays. 2002-03-03 15:00:39 +00:00
hrs
e053135efa Add Japanese version of hardware notes:
(new) -> 1.3  	doc/ja_JP.eucJP/hardware/Makefile
	(new) -> 1.2  	doc/ja_JP.eucJP/hardware/Makefile.inc
	(new) -> 1.6  	doc/ja_JP.eucJP/hardware/alpha/Makefile
	(new) -> 1.4  	doc/ja_JP.eucJP/hardware/alpha/article.sgml
	(new) -> 1.3  	doc/ja_JP.eucJP/hardware/common/artheader.sgml
	(new) -> 1.73 	doc/ja_JP.eucJP/hardware/common/dev.sgml
	(new) -> 1.3  	doc/ja_JP.eucJP/hardware/common/hw.ent
	(new) -> 1.3  	doc/ja_JP.eucJP/hardware/common/intro.sgml
	(new) -> 1.5  	doc/ja_JP.eucJP/hardware/i386/Makefile
	(new) -> 1.3  	doc/ja_JP.eucJP/hardware/i386/article.sgml
	(new) -> 1.2  	doc/ja_JP.eucJP/hardware/i386/proc-i386.sgml
	(new) -> 1.2  	doc/ja_JP.eucJP/hardware/ia64/Makefile
	(new) -> 1.1  	doc/ja_JP.eucJP/hardware/ia64/article.sgml
	(new) -> 1.1  	doc/ja_JP.eucJP/hardware/ia64/proc-ia64.sgml
	(new) -> 1.1  	doc/ja_JP.eucJP/hardware/sparc64/Makefile
	(new) -> 1.1  	doc/ja_JP.eucJP/hardware/sparc64/article.sgml

 NOTE: {alpha,sparc64}/{dev,proc}-{alpha,sparc64}.sgml are
       not translated yet.
2002-03-03 14:31:34 +00:00
takawata
e583125ee4 Add two IrDA controller ID: IBM TP240(Probably NSC compatible), and SMC IrCC
controller.
2002-03-03 13:26:59 +00:00