Commit Graph

169914 Commits

Author SHA1 Message Date
christos
b69a53abf2 import today's snapshot! Hi <tls> 2008-05-09 21:34:04 +00:00
joerg
f809e517f2 Only check for hlt on !Xen. This needs to be reviewed when Xen gets SMP
support.
2008-05-09 21:25:43 +00:00
ad
8b6686aea4 LAPIC_ID_MASK is 8 bits these days. 2008-05-09 21:23:48 +00:00
tnn
a1744e1285 Make it build, struct vfsops gained a member.
(Making compat_irix actually work again is a project for another day.)
2008-05-09 20:49:14 +00:00
dyoung
a00439c7f3 In address, integer, string parsers, gracefully handle a missing
token.
2008-05-09 20:48:59 +00:00
dyoung
19f3f9a2f3 Repair agr(4) syntax. Should fix PR bin/38600. 2008-05-09 20:45:09 +00:00
dyoung
5198e29b4c Make gre(4) work in the New File Descriptor / Socket Locking Order.
Move the function+line printing into GRE_DPRINTF().

Retire gre_closef().  Retire gre_join().  Constify gre_reconf(),
and don't pass it an LWP any longer.

Make this work in the new file descriptor regime.  Add a kernel
thread per gre(4) instance whose purpose is to install the socket
into proc0's file descriptor table.  Add gre_fp_send() and
gre_fp_recv() for passing file_t pointers to proc0.

Fix locking:  don't solock() in the socket upcall, where it is
already held.  Do solock() before calling soconnect().

Simplify reconfiguration.

Update a comment that mentions finding a less specific route, since
we don't do that any more.
2008-05-09 20:14:07 +00:00
joerg
a790b941e6 Make cpu_idle a macro calling a function pointer on x86.
Select the Xen idle routine for Xen, mwait if supported by the CPU and
it is not AMD and halt otherwise. As reported by Christoph Egger,
AMD Barcelona keeps the CPU in C0 state with MWAIT, contrary to HLT,
which uses C1 and therefore much less power.
2008-05-09 18:11:28 +00:00
christos
7f928c07fa add more errors from gleaning the source. 2008-05-09 15:52:50 +00:00
tsutsui
f519863871 Split softc/device_t, with misc related changes. 2008-05-09 10:59:55 +00:00
tsutsui
6eaaf9f4bd If writing the primary boot fails with EROFS, use DIOCWLABEL ioctl
then try again because some ports have to overwrite LABELSECTOR
which might be protected by bounds_check_with_label(9) on putting
primaty bootxx.
2008-05-09 10:53:55 +00:00
tsutsui
a9e4cec8d9 Use DIOCWLABEL ioctl before writing block 0 which might be
protected by (now MI) bounds_check_with_label(9).
Fixes a problem on sysinst mentioned in PR port-macppc/38016.
2008-05-09 10:14:35 +00:00
tsutsui
dba35d8b76 CFATTACH_DECL() -> CFATTACH_DECL_NEW(), botched in rev 1.14. 2008-05-09 10:09:27 +00:00
wiz
04845dabb5 Assign to TNF. Make 2-clause instead of 3.
Ok: co-copyright owner hubertf@.
2008-05-09 08:31:13 +00:00
rumble
552b98b94b Fix compilation with DEBUG_NFS_BOOT_DHCP and ssp. 2008-05-09 06:20:39 +00:00
rumble
7e3d192596 Nix a tautological return introduced in 1.129. 2008-05-09 06:08:19 +00:00
dyoung
de7ae11c56 Use the correct key. Spotted by NONAKA Kimihiro. 2008-05-09 04:46:50 +00:00
jmcneill
e1557cc154 Use 2-clause license. 2008-05-09 03:44:51 +00:00
macallan
042c09add2 move to 2 clause license 2008-05-09 03:12:49 +00:00
matt
4c3e78343a Add KERNEL_BASE_EXT=0xc0000000 to those plaforms that need it.
Note that armv6 and later systems will use 0x80000000 as the kernel start
so they can use the split TTBs in armv6 and later.
2008-05-09 00:08:37 +00:00
sborrill
f8596645f3 Add support for IBM ServeRAID 8k.
Fix some grammatical errors
2008-05-08 19:09:33 +00:00
ad
541e4662f9 - Add tc_gonebad(): allows timecounter to be flagged as bad and removed at
the next clock tick.
- Remove time_lock, which is no longer required.
2008-05-08 18:56:58 +00:00
macallan
3b2abbc7b0 add ttyE1-3 2008-05-08 16:15:05 +00:00
tsutsui
a48fac26d7 vt100 is better than unknown for ttyZ[01]. 2008-05-08 16:03:09 +00:00
wiz
34d9ab928a No need to explicitly mention my name here any longer. 2008-05-08 15:36:35 +00:00
wiz
c75bafc005 2-clause my license. 2008-05-08 15:34:21 +00:00
sborrill
b3f8753a81 Regen 2008-05-08 15:34:15 +00:00
sborrill
cfe5fff059 Add support for IBM ServeRAID 8k (and 8k-l) 2008-05-08 15:33:34 +00:00
wiz
ac20026091 2-clause my license. 2008-05-08 15:31:07 +00:00
lukem
2713f76747 Convert getnetbyname(3) and getnetbyaddr(3) to the more "standard"
nsdispatch() backend method API.
2008-05-08 13:01:42 +00:00
reinoud
ffc24fca06 Implement write support for the MMC framework. This consists of a setting
up of write parameters call and a call to perform a series of operations on
these devices.

Note that the MMC framework interface is still not exposed to userland
unless the expose_mmc flag is set. This is to prevent applications to build
on a possibly still moving target. This flag will eventually be removed.
2008-05-08 12:57:19 +00:00
lukem
d8aac84366 Fix a misuse of an automatic as a static that was exposed by the previous. 2008-05-08 12:26:55 +00:00
manu
2a499f37b6 From Christian Hohnstaedt: allow out of tree building 2008-05-08 12:24:50 +00:00
joerg
1fe12cbbc8 Add support for 3ware 9650 and 9690 based on patches contributed by
Wasabi Systems.

Fix bus_dma usage to fix write operations in the light of bounce buffers.
Use the 64bit bus_dma tag for 9550+ to avoid bouncing buffers.
2008-05-08 11:27:54 +00:00
taca
fd376618e5 Make sure to clear csum_flags before forward the packet.
This change should be fix DIAGNOSTIC kernel's panic when the machine act
as multicast router.

Advised from tls@ and approved by thorpej@.
2008-05-08 08:00:55 +00:00
dyoung
44e2875450 Move IPv4/IPv6-specific code from commit_address() to in_commit_address()
and in6_commit_address().  Fixes the USE_INET6=no build.
2008-05-08 07:13:20 +00:00
dyoung
cbb2531719 Delete #if 0'd code. 2008-05-08 07:11:03 +00:00
dyoung
43545a233c Don't use -pedantic, it stops af_atalk.c and af_iso.c from building
if INET_ONLY is #defined.
2008-05-08 07:09:18 +00:00
lukem
6e5e2748b3 Fix DNS getnetbyname(), which has been broken for at least 5.5 years
(if not longer).
2008-05-08 05:06:18 +00:00
macallan
1da90a4ef8 nuke clause 3 2008-05-08 02:32:48 +00:00
macallan
8f2f09b987 nuke clause 3 & 4 2008-05-08 02:16:27 +00:00
jmcneill
34fba0e3ad Use 2-clause license. 2008-05-08 02:10:59 +00:00
macallan
92b89da10e nuke clause 3 2008-05-08 02:03:22 +00:00
macallan
346d21c906 nuke clause 3 2008-05-08 01:43:17 +00:00
macallan
757fd24b0c nuke license clause 3 2008-05-08 01:37:04 +00:00
macallan
e24aaf48e7 report chip revision 2008-05-08 01:36:03 +00:00
macallan
343b964931 magic number reduction
from Izumi Tsutsui
2008-05-08 01:27:43 +00:00
dyoung
8c460289fe Factor out common code, creating direct_ioctl() and indirect_ioctl()
for the two most prevalent styles of ioctl(2) calls in ifconfig(8).
2008-05-07 23:55:06 +00:00
dyoung
db80154181 Remove CPPFLAGS that are redundant when WARNS=4. 2008-05-07 22:07:24 +00:00
ad
05b982d1c7 mfs doesn't need fsync. 2008-05-07 21:30:42 +00:00