xtraeme
0976f2f104
regen
2007-11-29 18:38:43 +00:00
xtraeme
88696b51e4
Add support for Novatel Wireless HSDPA Modem to ugensa(4), patch
...
from Marcin Michal Jessa... thanks.
2007-11-29 18:38:22 +00:00
ad
4acbed1e86
Fix DIAGNOSTIC build.
2007-11-29 18:33:29 +00:00
ad
e7e13da4c3
Use atomics to adjust lim->pl_refcnt.
2007-11-29 18:21:03 +00:00
ad
1cb3506898
Use atomics to adjust filedesc::fd_refcnt.
2007-11-29 18:17:47 +00:00
rmind
0e5c3c74c5
Finish the usage of atomic operations:
...
- Leave non-accurate pre-checks;
- Use atomic_inc_uint_nv() with re-check;
Reviewed by <ad>.
2007-11-29 18:17:01 +00:00
ad
6182ac0595
Use atomics to adjust cwdi_refcnt.
2007-11-29 18:15:14 +00:00
ad
e9e11b98df
Use atomics to maintain uvmexp.{anon,exec,file}pages.
2007-11-29 18:07:11 +00:00
ad
7d57af5baa
Pull in sys/intr.h
2007-11-29 18:04:46 +00:00
ad
a45b048ec2
Use atomics to maintain aio_jobs_count. XXX There is still a race, we
...
should should use atomic_inc_uint_nv() before setup to ensure that we
don't exceed the max number of concurrent jobs.
2007-11-29 17:52:27 +00:00
ad
7ec1c5e617
Use atomics to adjust the credential reference count.
2007-11-29 17:48:27 +00:00
pooka
aadcb17f11
* allocate pcc as a slice from the stack instead of allocating it
...
separately
* provide puffs_cc_getcc()
This is in preparation for the removal of you-should-guess-what as
an argument to routines here and there and everywhere.
2007-11-29 17:47:54 +00:00
ad
7243d328e1
Atomic ops for sh3.
2007-11-29 17:33:38 +00:00
ad
890e076b1a
Pending review by uwe@:
...
- Make _lock_cas() do "compare and swap", not "compare and set".
- Add aliases for atomic_cas_ulong() and friends.
2007-11-29 17:33:09 +00:00
ad
6f3a041727
atomic_add_* takes signed integers, the others take unsigned.
2007-11-29 17:29:40 +00:00
pooka
73a538eac2
print mode in open
2007-11-29 17:22:04 +00:00
ad
29d1edb61b
Apparently pointers are also returned in %a0.
2007-11-29 17:12:21 +00:00
ad
935eacf351
Pull in m68k atomic ops from the thorpej-atomic branch.
2007-11-29 17:09:31 +00:00
vanhu
3139da7ed3
From Natanael Copa: fixed a race condition when building yacc stuff.
2007-11-29 16:22:08 +00:00
vanhu
45ebb13627
fixed a race condition when building yacc stuff
2007-11-29 16:22:07 +00:00
ad
6b0ff77038
Atomic ops for hppa.
2007-11-29 16:14:56 +00:00
ad
ad40d74014
- Change lock_cas from "compare and set" to "compare and swap".
...
- Add aliases for atomic_cas_ulong(), etc.
Ok skrll@
2007-11-29 16:14:28 +00:00
ad
901f9ae9f6
cv_init(&lbolt, "lbolt");
2007-11-29 15:41:07 +00:00
ad
881b1b699e
Use the CAS-based inc/dec variants, since these CPUs don't have atomic
...
add in hardware (does arm?).
2007-11-29 15:29:46 +00:00
ad
fe803ab0ed
Add inc/dec variants that use atomic_cas in preference to atomic_add.
2007-11-29 15:27:57 +00:00
ad
5c5043b187
membar_read/write are gone.
2007-11-29 15:20:43 +00:00
ad
11f83d35dd
Atomic ops for arm.
2007-11-29 15:19:54 +00:00
ad
afb9be47ba
- Change _lock_cas() to do compare-and-swap instead of compare-and-set.
...
- Add aliases for atomic_cas_ulong() and friends.
2007-11-29 15:17:45 +00:00
ad
ccbc7a4bd9
Add 'bool returning' argument to cpu_switchto (unused).
2007-11-29 14:30:32 +00:00
ad
86b20896d3
Use system-provided atomic ops.
2007-11-29 14:29:29 +00:00
mjf
036409b859
Commit Caldera licensed documentation from 4.4BSD. This was taken from the
...
OpenBSD tree.
No objections on netbsd-docs.
2007-11-29 12:35:04 +00:00
yamt
d0f12a6ad9
instead of setting pcb_onfault on every calls of copyin and friends,
...
make the fault handler investigate program counter of faulting code.
inspired from linux.
2007-11-29 09:53:33 +00:00
nisimura
5155a3ee9b
comment-out lpt0 since EnCorePP1 experiences occasional irq 7 flood
...
regardless of the special care to disable LPT function in VIA 686SB.
May not revive anytime soon as it's considered little use.
2007-11-29 06:50:37 +00:00
nisimura
e511172428
add preliminary wm.c, a lot of fixes to make other NIC more sensible.
2007-11-29 04:00:17 +00:00
ad
2da5f5559a
Fix the aliases.
2007-11-29 02:16:00 +00:00
ad
ebe806aa11
sparc atomic ops
2007-11-29 02:01:22 +00:00
jnemeth
bf33c34cf5
add dev/ofw/ofw_subr.c to VARSTACK
2007-11-29 01:39:27 +00:00
rmind
b1643a0231
DRM was imported long time ago - mention that, while it is not forgotten.
...
Hi <drochner>!
2007-11-29 01:33:55 +00:00
ad
c69c0e0f91
Make the 64-bit operations available when possible.
2007-11-29 01:04:57 +00:00
ad
92d7e73c2a
Add alias for atomic_cas_64() if available.
2007-11-29 01:04:20 +00:00
ad
695c2bc225
Only build the 64-bit versions if __HAVE_ATOMIC64_OPS.
2007-11-29 01:02:40 +00:00
ad
f5474801b3
__HAVE_ATOMIC64_OPS if 64-bit
2007-11-29 00:58:03 +00:00
ad
32c745d42e
__HAVE_ATOMIC64_OPS
2007-11-29 00:56:53 +00:00
ad
962de970f5
__HAVE_ATOMIC64_OPS for SUN4U.
2007-11-29 00:56:13 +00:00
ad
c291a9d4fa
RW_GIVE() needs to do a mb_memory() now.
2007-11-29 00:17:54 +00:00
ad
7b3b1e0427
Atomic ops for MIPS. Use the CAS functions already provided by the kernel,
...
and use the generic C code to provide the rest. Unfortunatley the C code
assembles up pretty badly on MIPS but at least it will work.
2007-11-29 00:16:23 +00:00
ad
872af53778
- Change _lock_cas and friends to do "compare and swap" instead of "compare
...
and set".
- Rename them to _atomic_cas_uint, _atomic_cas_ulong etc and provide strong
aliases for the other names CAS goes by.
2007-11-29 00:14:27 +00:00
degroote
9a2478a81d
Fix compilation in case of COMPAT_FREEBSD_NET80211.
...
Any reason that we use by default the old api ioctl instead of the 'new' api ioctl ?
(Time is a good reason :)).
2007-11-28 23:23:11 +00:00
he
ddc4103ec7
Allow this to build both for sparc64 and for the GENERIC_SUN4U sparc kernel.
2007-11-28 22:54:46 +00:00
degroote
db9d3119cf
In wpi_init, check for the status of radio switch and print a useful message
...
in this case.
2007-11-28 22:51:49 +00:00