rpaulo
4e0b046439
Add a missing piece from RFC 3542. KAME-NetBSD-current branch
...
revision 1.1.1.2.2.5:
do not call pfctlinput2(PRC_MSGSIZE) on fragmentation to avoid
notification storm
From Keiichi SHIMA:
"In the current NetBSD code, the PRC_MSGSIZE message will be generated
for every fragmented packets when a node is trying to send a big
packet. That was the intermediate behavior while RFC3542 was under
discussion."
By (obviously) the KAME project.
2006-07-08 19:58:40 +00:00
tsutsui
79d3d94bff
KNF.
2006-07-08 18:32:53 +00:00
christos
1a9d8ea2c7
Fix use the proper ioh.
2006-07-08 18:19:01 +00:00
skrll
eb4039be03
KNF some comments and whitespace.
2006-07-08 16:24:08 +00:00
skrll
e5a112d805
Spelling in comments. No functional change.
2006-07-08 16:07:47 +00:00
kardel
b36308b48b
when adjusting the left over timeout value in selcommon()
...
do actually subtract the elapsed time instead of adding it.
2006-07-08 16:01:25 +00:00
kardel
e472b9091e
fix a bug reported by Steven M. Bellovin regarding oversleeping
...
select(2) timeouts. Introduced via timecounter branch from a
tvtohz() conversion.
The left over timeout was not decremented when re-starting
the sleep in select.
2006-07-08 12:16:09 +00:00
kardel
d788cc37f6
report true clock resolution based on the frequency information
...
from the underlying counter in clock_getres(). For frequencies
above 1GHz report a resolution if 1 nsec.
2006-07-08 12:10:33 +00:00
ross
dd8ab8abc4
add new split personality for ELF64
2006-07-08 06:36:42 +00:00
yamt
d9530c47ba
add DEBUG code to detect modifications on free memory.
2006-07-08 06:01:53 +00:00
yamt
7d19947ffd
make a multiple inclusion protection macro match with the filename.
2006-07-08 05:57:41 +00:00
yamt
85d844ab45
agr_ioctl: wrap a long line after kauth merge.
2006-07-08 05:56:48 +00:00
matt
46d05ada18
Don't bcopy to 0 because gcc4 doesn't like. Instead use a structure copy
...
to 0 to do the equivalent thing. XXX this is evil.
2006-07-08 00:27:30 +00:00
matt
c266c91b24
Reorganize pmap_extract so that *pap is always set to quash gcc4
...
uninitialized use warnings.
2006-07-08 00:26:21 +00:00
matt
08f6d0142a
Make GCC3/GCC4 happy with these asms.
2006-07-08 00:25:24 +00:00
matt
53ea8158b4
With VAX & GCC4, use builtin memset and memmove.
2006-07-08 00:24:26 +00:00
matt
34b5f92bac
Don't define bpendtsleep on vax (gcc4 optimizer will duplicate the asm
...
that contains it result in a multiple symbol definition in gas).
2006-07-08 00:23:29 +00:00
gdamore
d266f72a20
Add AR531X GPIO support. This also registers the reset button with sysmon,
...
so that when it is pressed the default reset button action (currently board
reset, no change to data in flash) is taken.
While here, remove the AR531X generic config, because it just doesn't make
sense.
2006-07-07 22:03:19 +00:00
ross
c389a93699
Add _LP64 version of _mcount for ppc64
2006-07-07 21:28:03 +00:00
ross
d08a822069
Add stmd and lmd macros.
2006-07-07 21:26:54 +00:00
yamt
fa517f1fc0
make this compilable without kernfs in the case of !DOM0OPS && XEN3.
2006-07-07 18:15:53 +00:00
yamt
aa5b46a800
xbdsize: fix an null dereference.
2006-07-07 17:59:21 +00:00
skrll
e5bd1e1629
Disable DDB_DEBUG by default
2006-07-07 09:40:54 +00:00
skrll
0fd55006fe
Fix use of user_backtrace. It takes a lwp pointer now.
2006-07-07 09:38:47 +00:00
cherry
8e4670dadf
Towards building libc/arch/ia64
2006-07-07 06:42:32 +00:00
simonb
5f14059883
Regen.
2006-07-07 01:22:31 +00:00
simonb
bbed75b78f
Add another Intel 3945 wireless minipci device id.
...
Small part of kern/33778 by Jean-Baptiste Campesato.
2006-07-07 01:21:37 +00:00
simonb
90498e88b2
s/writting/writing/.
2006-07-07 00:56:15 +00:00
perseant
a2aa7212a8
Protect lfs_order_freelist() with the segment lock.
2006-07-06 22:27:19 +00:00
perseant
b8ec630ade
Fix a typo that caused a "multiple free" panic on unmounting a resized lfs.
2006-07-06 22:14:18 +00:00
martin
6bfe6be406
Make it compile on 64 bit machines
2006-07-06 21:55:06 +00:00
ross
96cf233754
more refinements for ppc64 PIC/PLT/TOC issues
2006-07-06 15:26:51 +00:00
scw
5914c06c4c
Fix the entries for SPR_DC_ADR and SPR_DC_DAT.
2006-07-06 15:09:54 +00:00
wrstuden
1b9990ba67
Fix len=-4 issues.
...
When receiving a packet, if a receive buffer has length 0,
treat it the same way we treat a failed mapping.
Fix contributed by Wasabi Systems.
2006-07-05 23:51:50 +00:00
perry
202456461a
Patches contributed by KIYOHARA Takashi, taken from FreeBSD.
...
These apparently sync up the sources to the current FreeBSD driver.
Tested by Matthias Drochner.
2006-07-05 18:46:42 +00:00
xtraeme
9c392ba6f4
Repeat after me, use __KERNEL_RCSID.
2006-07-05 18:17:59 +00:00
bouyer
de888ac7f5
Comment out acpi0, until someone can make it compile again after the recent
...
acpi changes.
2006-07-05 17:00:46 +00:00
itohy
3b04fb4334
Back out previous change. The problem was not here. Oops.
2006-07-05 15:19:38 +00:00
drochner
ff6945ed02
obey VM_PROT_EXECUTE in pmap_kenter_pa (just use protection_codes[])
2006-07-05 14:36:29 +00:00
drochner
8d2b5419d9
make this compile with standard warning level
2006-07-05 14:33:20 +00:00
drochner
8c61e0077d
Request executable memory for LKM code/data areas. This fixes LKMs
...
on alpha (which were broken for more than a year appearently and noone
noticed). (The other archs didn't suffer because their pmap_kenter_pa()
doesn't support non-executable mappings.)
2006-07-05 14:31:00 +00:00
drochner
ef8848c74a
Introduce a UVM_KMF_EXEC flag for uvm_km_alloc() which enforces an
...
executable mapping. Up to now, only R+W was requested from pmap_kenter_pa.
On most CPUs, we get an executable mapping anyway, due to lack of
hardware support or due to lazyness in the pmap implementation. Only
alpha does obey VM_PROT_EXECUTE, afaics.
2006-07-05 14:26:42 +00:00
bjh21
6431f3b2de
Descend into nbfs -- I think it's useful now.
2006-07-04 23:08:51 +00:00
bjh21
c6bb58fda2
We don't actually use NEWVERSWHAT, but we should still try to make it correct.
2006-07-04 23:08:10 +00:00
bjh21
ac8af88277
Add some definitions necessary for the latest NBFS, plus a couple of
...
functions that my boot32 hacks are likely to require.
2006-07-04 23:06:51 +00:00
rpaulo
81cc271bc5
Add missing semicolon.
2006-07-04 23:05:11 +00:00
bjh21
6022ed9721
Fix missing newline at end of file.
2006-07-04 22:42:11 +00:00
bjh21
b314f251e2
Add suppport for FSEntry_file 255, loading whole files. Now I can open
...
/etc/passwd in Zap.
2006-07-04 22:34:54 +00:00
christos
96c223fe5a
spell NACPI correctly.
2006-07-04 18:46:42 +00:00
christos
f73658ad42
put depend back.
2006-07-04 18:43:35 +00:00