Commit Graph

102365 Commits

Author SHA1 Message Date
rik
afafd7ad4e Add manual page for Cronyx Tau-PCI adapters.
It is PCI family, but we never test it on other than i386 arch.
2004-05-07 16:28:30 +00:00
cognet
feb7886812 Define KINFO_PROC_SIZE for arm. 2004-05-07 15:37:56 +00:00
cognet
fca697e1b7 Compare t_brkc against (char)_POSIX_VDISABLE, not against -1.
Discussed with:	bde
2004-05-07 15:35:38 +00:00
csjp
2d0875c869 Teach route(8) how to deal with root being in a prison. If prison
root is allowed to create raw sockets, then they will be able to create
routing sockets, too.  However prison-root is not able to manipulate
routing tables.  So when route(8) attempts to write to a routing
socket and recieves EPERM from the kernel, exit rather than moving
on with execution.

Approved by:    bmilekic (mentor)
2004-05-07 15:33:17 +00:00
brueffer
fe57d0e520 o fix a typo
o remove stray word
o add missing words

PR:		66293
Submitted by:	Michel Lavondès <fox@vader.aacc.cc.md.us>
MFC after:	3 days
2004-05-07 13:00:01 +00:00
rik
ff60aacfdf Use better way of closing fr support before current sppp get it. 2004-05-07 11:59:54 +00:00
rik
e5f4de4671 Sync with RELENG_4 2004-05-07 11:56:07 +00:00
rik
4364ab45ed Use better way of closing fr support before current sppp doesn't have it. 2004-05-07 11:45:25 +00:00
green
872edf85fc In r1.190, vslock() and vsunlock() were bogusly made to do a "user wire"
and a "system unwire."  Make this a "system wire" and "system unwire."

Reviewed by:	alc
2004-05-07 11:43:24 +00:00
rik
c3eb86908f Sync with RELENG_4. 2004-05-07 11:11:13 +00:00
rik
0945a57c63 Delete unused cx_slow_ih.
Pointed by:	jhb
2004-05-07 11:06:25 +00:00
des
8a5af58dec Document SHLIB, kind of. 2004-05-07 09:59:03 +00:00
des
b03efce0d2 Add SHLIB as a shortcut for shared-only libraries.
Not objected to by: bde, ru
2004-05-07 09:58:36 +00:00
marcel
804a183b9c Revert previous commit. We should not get any FP traps from within
the kernel. We can guarantee this by resetting the FP status register.
This masks all FP traps. The reason we did get FP traps was that we
didn't reset the FP status register in all cases.

Make sure to reset the FP status register in syscall(). This is one of
the places where it was forgotten.

While on the subject, reset the FP status register only when we trapped
from user space.
2004-05-07 05:35:31 +00:00
marcel
fa93eca116 Make sure to sanitize the FP status register. Specifically this
masks all FP traps, which should not happen in the kernel.
2004-05-07 05:29:12 +00:00
njl
923e8d2597 Change hw.acpi.cpu.cx_lowest to accept values in the form of C1,
C2, ...  Update power_profile to use the new format.  Update the
man page to reflect this and give more info on Cx states.
2004-05-07 05:22:38 +00:00
marcel
69e8f8a502 Remove unwinder files that are commented-out. 2004-05-07 03:56:00 +00:00
maxim
721bd1eb5f o IFNAMSIZ does include the trailing \0.
Approved by:	andre

o Document net.inet.icmp.reply_src.
2004-05-07 01:24:53 +00:00
green
cfcd73f060 Properly remove MAP_FUTUREWIRE when a vm_map_entry gets torn down.
Previously, mlockall(2) usage would leak MAP_FUTUREWIRE of the process's
vmspace::vm_map and subsequent processes would wire all of their memory.
Coupled with a wired-page leak in vm_fault_unwire(), this would run the
system out of free pages and cause programs to randomly SIGBUS when
faulting in new pages.

(Note that this is not the fix for the latter part; pages are still
 leaked when a wired area is unmapped in some cases.)

Reviewed by:	alc
PR		kern/62930
2004-05-07 00:17:07 +00:00
andre
f0cb5e7622 Provide the sysctl net.inet.ip.process_options to control the processing
of IP options.

 net.inet.ip.process_options=0  Ignore IP options and pass packets unmodified.
 net.inet.ip.process_options=1  Process all IP options (default).
 net.inet.ip.process_options=2  Reject all packets with IP options with ICMP
  filter prohibited message.

This sysctl affects packets destined for the local host as well as those
only transiting through the host (routing).

IP options do not have any legitimate purpose anymore and are only used
to circumvent firewalls or to exploit certain behaviours or bugs in TCP/IP
stacks.

Reviewed by:	sam (mentor)
2004-05-06 18:46:03 +00:00
njl
bff76501b4 Rename acpi_cpu to cpu. Change the probe routine to early on reject
devices it cannot attach to.  This gets rid of extraneous but harmless
device_probe_and_attach() errors.  While I'm here, make the device
description more useful.  The !acpi case for cpu is handled by legacy0.
2004-05-06 17:25:23 +00:00
njl
f3b436cf62 Move the CPU newbus attachment to i386 legacy. The acpi_cpu device will
become just "cpu" and provide attachments in the !legacy case.

Tested by:	des
2004-05-06 15:54:02 +00:00
joerg
4a803522b0 Mention that hme(4) now supports long frames for vlan(4) natively. 2004-05-06 13:51:00 +00:00
nyan
8ad1596b56 Detach i386/isa/elcr.c. 2004-05-06 13:49:53 +00:00
nyan
38631a3309 Fixed PC98 support.
- Disable an ELCR on PC98.
 - Correct IRQs.
2004-05-06 13:48:34 +00:00
nyan
dc13ee225f Disable an EISA support on PC98. 2004-05-06 13:45:45 +00:00
joerg
41832cd723 Mention that hme(4) natively supports oversized frames. 2004-05-06 13:38:53 +00:00
joerg
003e2856b4 The Sun hme hardware supposedly supports Tx frames up to 65535 octets,
and Rx frames up to 8191 octets, so it is perfectly capable of supporting
vlan(4)-style VLAN natively.

Thus, make it support VLAN `oversize' frames.

Reviewed by:	tmm
2004-05-06 13:38:19 +00:00
sanpei
84f547e12c fix SONY_CLIE_41 (as PEG-SJ33/U)
PR:		kern/64968
Submitted by:	John Merryweather Cooper <coop9211@uidaho.edu>
MFC after:	1 week
2004-05-06 13:33:59 +00:00
stefanf
84a3515be8 Use a proper protoype to declare interp() and move it to tip.h. Fix an
invocation with a wrong number of arguments.

Approved by:	das (mentor)
2004-05-06 13:25:09 +00:00
andre
758cce0411 Link state change notification of ethernet media to the routing socket.
o The ndis_ticktask() function updates the ifi_link_state field and
  calls rt_ifmsg() to notify listeners on the routing socket.

Approved by:	wpaul
2004-05-06 13:17:02 +00:00
nyan
2f9a119a16 Mereged from sys/dev/sio/sio.c revision 1.429. 2004-05-06 13:16:45 +00:00
stefanf
599524133f The prototypes for cabs() and cabsf() are in <complex.h>. Fix their arguments'
types and describe them briefly.

Reviewed by:	ru, bde
Approved by:	das (mentor)
2004-05-06 13:11:18 +00:00
das
1034392cd2 When a denormal underflows to zero, raise an underflow exception.
Thanks to marcel for helping me test this.
2004-05-06 09:36:11 +00:00
das
de98e5e9e0 Don't clear the exception flags after we finish emulating a
floating-point instruction in the kernel.  The flags are
supposed to be cumulative.

Thanks to marcel for helping me test this.
2004-05-06 09:35:57 +00:00
silby
6af53e399e Remove "Scheduling overrun" interrupts from the set of normal interrupts
that the OHCI driver uses.  Broken OHCI devices (like the controller
in my laptop, apparently) like to set this bit at times.  Research
through google shows that this problem has shown up on other systems
as well.

As the scheduling overrun handler doesn't actually do anything, and
the only effect is console spamming, disabling the interrupt seems
to be the right thing to do.  (And it is also what linux 2.6 does.)
2004-05-06 09:21:05 +00:00
njl
6992fcdc82 Select the highest valid (i.e., S3) sleep state for the default for the
sleep button.  Change the default for the lid switch to NONE.  This can
be overridden in /etc/sysctl.conf as desired.
2004-05-06 08:04:34 +00:00
alc
ba2629cdc7 Make vm_page's PG_ZERO flag immutable between the time of the page's
allocation and deallocation.  This flag's principal use is shortly after
allocation.  For such cases, clearing the flag is pointless.  The only
unusual use of PG_ZERO is in vfs_bio_clrbuf().  However, allocbuf() never
requests a prezeroed page.  So, vfs_bio_clrbuf() never sees a prezeroed
page.

Reviewed by:	tegge@
2004-05-06 05:03:23 +00:00
njl
c392d01bb9 Add back sys/reboot.h which is needed. 2004-05-06 02:57:24 +00:00
njl
43769ec800 Make unnecessary globals static and remove unused includes.
Pointed out by:	cscout
2004-05-06 02:18:58 +00:00
njl
d0d89de582 Fix setting debug strings via sysctl. Also, clean up the way we print
debug strings.
2004-05-06 02:05:45 +00:00
jhb
93780cb609 Name the pri argument to cv_broadcastpri() to match the existing style of
this file.
2004-05-05 21:57:44 +00:00
kientzle
e1906beac0 Add --unlink and --unlink-first synonyms for -U
Make indentation of tar_longopts array more consistent.
2004-05-05 21:06:37 +00:00
njl
307e6593c9 Remove extra parentheses. 2004-05-05 20:07:52 +00:00
njl
d8e9ab4ec6 Add an MI implementation of the ACPI global lock routines and retire the
individual asm versions.  The global lock is shared between the BIOS and
OS and thus cannot use our mutexes.  It is defined in section 5.2.9.1 of
the ACPI specification.

Reviewed by:	marcel, bde, jhb
2004-05-05 20:04:14 +00:00
njl
548661dd93 Add sys/types.h for both kernel and user compiles. 2004-05-05 20:02:02 +00:00
njl
f3d46634d1 Style cleanups, u_intXX -> uintXX. 2004-05-05 19:51:15 +00:00
joe
7e864d4313 Regen 2004-05-05 19:40:03 +00:00
joe
6a8547858c Add support for the new Zire 31 device.
Submitted by:	Adriaan de Groot <adridg@cs.kun.nl>
2004-05-05 19:39:24 +00:00
jhb
8ef2076325 MFi386: Add elcr.c. 2004-05-05 18:03:40 +00:00