peter
463fbff409
Only compile in pf specific code when pf is configured.
...
Fixes kernel build when ALTQ is configured and pf not.
2006-10-13 09:57:28 +00:00
he
1d78afbff8
Fix set lists so that prop_number_equals_integer.0 is there as well.
2006-10-13 05:03:50 +00:00
wiz
361e86f38f
Bump date for previous.
2006-10-13 00:20:00 +00:00
wiz
f592019bff
Bump date for previous.
...
New sentence, new line.
2006-10-13 00:19:21 +00:00
uwe
bb003f9487
More __unused (in cpp conditionals not touched by i386).
2006-10-12 21:35:00 +00:00
uwe
bdfc8192a4
Add __unused to unused function arguments.
2006-10-12 21:31:29 +00:00
uwe
44b3507820
-Wextra fixes
2006-10-12 21:19:13 +00:00
peter
0f87202ad8
Use another number for JOBS_CLEAR because it clashes with PRIQ_CLEAR.
2006-10-12 21:13:53 +00:00
salo
df733399d6
Add a couple of (mostly) 802.11 related terms, WEP, WPA, EAP, PSK.
2006-10-12 20:47:55 +00:00
dogcow
e0909532c0
even more __unused.
2006-10-12 20:18:19 +00:00
dogcow
e5fd0c244b
more __unused; also, ew, K&R decls.
2006-10-12 20:16:59 +00:00
peter
dd191f37f3
Merge the peter-altq branch.
...
(sync with KAME & add support for using ALTQ with pf(4)).
2006-10-12 19:59:07 +00:00
dogcow
ede54d51fa
more __unused. (hi, christos!)
2006-10-12 19:45:32 +00:00
dogcow
64d163c11c
de-__Pify, ANSIfy, and add __unused where necessary.
2006-10-12 19:28:47 +00:00
thorpej
3b2ca36caa
Appease our stupid lint.
2006-10-12 18:52:55 +00:00
xtraeme
7455ba536b
sigh, another missing __unused.
2006-10-12 17:50:07 +00:00
christos
c3c402ca3b
kill __unused
2006-10-12 16:19:06 +00:00
cube
cdaa7fb3df
Don't do PCI stuff if there is no PCI. PR#31971 by Lubomir Kundrak.
2006-10-12 15:28:30 +00:00
pavel
529cc0c586
Apply patch from Hauke Fath to solve port-mac68k/29049: sysinst did not
...
newfs and mount the target filesystem.
In Hauke's words: "Basically, the mac68k md_make_bsd_partitions() function,
which replaces the MI make_bsd_partitions() because the mac68k port does not
have an on-disk BSD disklabel, neglected to sign up BSD partitions for
newfs'ing and mounting by setting the appropriate flags."
Revert the commit to the install notes (rev. 1.14 of notes/mac68k/prep) which
added a warning and a workaround for this bug, as requested by hubertf in the
PR log.
2006-10-12 12:46:18 +00:00
rpaulo
c1fc16d084
PR 34776: don't accept TCP connections to broadcast addresses.
...
Move the multicast/broadcast check above (before creating a syn_cache entry)
By Yasuoka Yasuoka.
2006-10-12 11:46:30 +00:00
yamt
0a8c1584c7
remove unnecessary #include of vnode.h.
2006-10-12 10:14:43 +00:00
yamt
9de1cdc8fe
move some knowledge about vnode into uvm_vnode.c.
2006-10-12 10:14:20 +00:00
yamt
b290489c81
whitespace.
2006-10-12 10:13:35 +00:00
yamt
0b30e1501c
uobj_wirepages and uobj_unwirepages from Mindaugas. PR/34771.
...
(commented out in files.uvm for now because there is no user in tree.)
http://mail-index.netbsd.org/tech-kern/2006/09/24/0000.html
http://mail-index.netbsd.org/tech-kern/2006/10/10/0000.html
2006-10-12 10:11:57 +00:00
yamt
35048d7491
genfs_putpages: don't try to deactivate loaned pages.
...
reported and tested by Nicolas Joly on current-users@.
2006-10-12 10:10:48 +00:00
yamt
39c1d8e71e
- include uvm_extern.h for vm_prot_t.
...
- add a forward decl of struct lwp.
2006-10-12 09:28:05 +00:00
yamt
24a777197d
intr_establish: add a missing ";" in the case of NIOAPIC==0.
2006-10-12 09:01:02 +00:00
tacha
7a76839cea
All members of PLAN should be initialized.
2006-10-12 08:46:18 +00:00
xtraeme
1b2a823a5f
Use __unused in function arguments where appropiate.
2006-10-12 07:43:39 +00:00
xtraeme
9b97f910cf
More -Wunused warnings.
2006-10-12 07:39:27 +00:00
xtraeme
4a09170d84
Use __unused in function arguments where appropiate. (hi christos)
2006-10-12 06:56:47 +00:00
thorpej
7dadf8e782
Note signed/unsigned changes to prop_number(3).
2006-10-12 04:49:46 +00:00
thorpej
8f6016c4e6
Bump libprop version to 0.4.
2006-10-12 04:48:09 +00:00
thorpej
873293facc
Make prop_number_t handle both signed and unsigned numbers. The *integer*
...
routines now take int64_t arguments, and new *unsigned_integer* routines
take uint64_t arguments. See prop_number(3) for complete details.
2006-10-12 04:46:56 +00:00
thorpej
b5c9ebab95
Make this compile with -Wunused and handle the case where __predict_false()
...
is not defined (non-NetBSD environments).
2006-10-12 04:43:20 +00:00
thorpej
4c9ab4b0a8
_prop_object_fini(): Consume all of the arguments.
2006-10-12 04:41:51 +00:00
thorpej
1c717ab574
_prop_bool_free(): Consume all of the arguments.
2006-10-12 04:41:13 +00:00
thorpej
401a3924d5
uvm_swap_stats_locked(): Consume the cmd argument even if COMPAT_13 is
...
not defined.
2006-10-12 04:35:40 +00:00
thorpej
6cd7a64f41
Add __unused as necessary.
2006-10-12 04:32:34 +00:00
thorpej
f9e194e136
cpu_exec_aout_makecmds(): consume the arguments even if COMPAT_NOMID is
...
not defined.
2006-10-12 04:31:54 +00:00
thorpej
8fa57c4c57
mmopen(): Consume the flag argument even if COMPAT_10 is not defined.
2006-10-12 04:31:03 +00:00
thorpej
435147e718
Add __unused as necessary.
2006-10-12 04:29:37 +00:00
thorpej
867f8cb239
genfs_lease_check(): Consume the arguments even if NFSSERVER is not defined.
2006-10-12 04:25:43 +00:00
thorpej
25433eb1b5
ufs_quotactl(): consume the arguments even if QUOTAS is not defined.
2006-10-12 04:24:40 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
elad
9ac35e8640
For raw disk requests, in case we don't have a vnode/device, use a
...
generic policy: always allow reading, allow writing in securelevel < 1
only.
2006-10-12 00:19:10 +00:00
apb
2eed134b40
De-__P(), remove trailing spaces, sprinkle a few const, WARNS=4.
2006-10-11 19:51:10 +00:00
gdt
ac02696458
Aggregate discharge rate over all batteries. Makes time remaining
...
reasonable when battery 0 is in use and battery 1 is fully discharged.
2006-10-11 19:14:29 +00:00
gdt
cf2f8187a8
Aggregate current charge level and lastcap over all batteries, rather
...
than taking values from the last battery checked. Solves problem of
apm showing status of 2nd battery in a 2-battery system.
2006-10-11 19:00:12 +00:00
he
8bcd5596e1
Forward-declare "struct lwp" before using it in an argument declaration.
...
Gets rid of a recurring lint warning whenever this file is included.
2006-10-11 16:16:48 +00:00