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
gdt
846dd43c17
bump date for ubiquiti addition before wizd next runs
2006-10-11 14:41:13 +00:00
gdt
3163e1f232
add Ubiquiti SRC to list of supported cards, and note that
...
AR5213-based devices work.
2006-10-11 14:39:58 +00:00
gdt
630ae694c1
Add Novatel FlexPak GPS and Sierra Aircard 580.
...
Note that the Qualcom CDMA device is found in the Kyocera KPC650 EVDO
interface.
2006-10-11 14:33:51 +00:00
gdt
53eda44ae8
Match Novatel FlexPak GPS receiver and Sierra Aircard 580 (used with
...
Sprint EVDO). From Armando Caro via acert.ir.bbn.com.
2006-10-11 14:32:28 +00:00
pooka
1cacfd0524
lower value mean higher priority for bridges
...
+ fix off-by-one
Tobias Nygren, bin/34781
2006-10-11 13:16:39 +00:00
gdt
b0c7441253
regen
2006-10-11 13:03:28 +00:00
gdt
2be186222f
Add ids for Sierra Aircard 580 (for Sprint EVDO) and Novatel Flexpack
...
GPS receivers.
2006-10-11 13:02:58 +00:00
elad
dc2e62e609
Reword, based on changes from jmc@OpenBSD, thanks!
2006-10-11 11:22:50 +00:00
pooka
654c98d70a
note that sun_len is ignored, per discussion on tech-net
2006-10-11 11:16:09 +00:00
hubertf
8a8b8c4204
xref fast_ipsec(4)
2006-10-11 10:14:31 +00:00
pooka
400dd61c41
nuke unused variable to make compile
2006-10-11 09:04:16 +00:00
dsl
505a3bb2b7
There is no need to resize the pollfd array, it can only ever have 2+maxJobs
...
entries, so allocate at startup.
Use an 'int jobPipe[2]' within the job structure, and create pipes directly
into it. Common up the code that creates all the pipes - making them all
non-block on the read side in the process.
Call Job_CatchChildren() directly from Job_CatchOutput() so that it only
gets called when a child actually exits.
NB: Something causes a 'pregnant pause' if (for example) you call 'nbmake obj'
in src/tools. Introduced between netbsd 3 and 4.
2006-10-11 07:01:44 +00:00
thorpej
e160c7cdec
- Add specificdata_setspecific_nowait(). Not exposed by the wrappers yet
...
pending discussion on tech-kern.
- Re-enable the SLEEPABLE assertion in specificdata_fini().
2006-10-11 05:37:32 +00:00
jmcneill
648920a00e
Size is the third argument to memset, not the second.
2006-10-11 05:12:06 +00:00