Commit Graph

166865 Commits

Author SHA1 Message Date
matt
360e0475e3 Use %rN as all new code is supposed to. 2008-02-12 07:58:01 +00:00
matt
131790b421 Fix pthread problem. (export membar* to userland) 2008-02-12 07:35:04 +00:00
ober
9a6d88bf44 Update to reflect iwn(4) checkin. 2008-02-12 05:27:43 +00:00
garbled
ddf7aaf7e5 Add a very quick and simple hack to allow ofwboot to be compiled into a
program that dumps the entire ofw device tree automatically.  I needed
this functionality to collect ofw dumps from users, and it doesn't hurt
to just commit it, as it's all protected inside a #ifdef OFWDUMP.
2008-02-12 04:27:46 +00:00
oster
ce72acea08 rf_debugMem.c: remove unused 'rc' variable for RF_DEBUG_MEM.
rf_driver.c: minor comment tweak.  Improve debugging output in
             RF_DEBUG_QUIESCE.
rf_states.c: fix argument to rf_PrintDAGList() in the
             RF_DEBUG_VALIDATE_DAG case.


Changes from Olivier Cherrier.  Thanks!!
2008-02-12 03:12:41 +00:00
dyoung
df7679436b #include <sys/evcnt.h> for event counters. 2008-02-12 00:53:06 +00:00
yamt
29e0fd1c9e sprinkle KERNEL_LOCK for socket.
a little different version was tested by Matthias Drochner.
2008-02-11 23:53:32 +00:00
ad
eff625dc0e Put back a __predict_false removed during testing and fix atomic_cas_mp(). 2008-02-11 23:48:23 +00:00
dyoung
d4f4828ee0 Do not #include <sys/device.h> from userland. 2008-02-11 22:43:39 +00:00
dyoung
49220e280f Only #include <sys/device.h> if we are #included from the kernel---that
is, if defined(_KERNEL).
2008-02-11 22:40:14 +00:00
dyoung
cf2b2c7c4b Re-implement the net80211 locks using mutex(9) instead of splnet(9)
shenanigans.  This matches the FreeBSD implementation much more
closely, but performance may suffer.
2008-02-11 22:38:51 +00:00
dyoung
b1480edbc5 Do not needlessly #include <sys/device.h>. 2008-02-11 22:32:48 +00:00
dyoung
7afb2e620f Use LIST_FOREACH(). Join lines. 2008-02-11 22:20:11 +00:00
dyoung
f776107987 Use TAILQ_FOREACH(). 2008-02-11 22:11:27 +00:00
dyoung
ab81f0ffe6 Constify ahc_set_name(), ahc_name(). Do not free(9) memory that
may not belong to us.
2008-02-11 21:43:46 +00:00
dyoung
a34525837f Do not #include <sys/device.h> from userland. 2008-02-11 20:29:15 +00:00
dyoung
dae2e11ac8 Use device_t and accessors. Use aprint_*(). 2008-02-11 20:27:01 +00:00
elad
c61569c8b3 Add Christos to the AUTHORS section. 2008-02-11 18:05:58 +00:00
elad
bdcc6c320e There's no use for the '-l' flag, so don't document it. Viewing PaX flags
is done by issuing "paxctl file" with no flags, so note that it the
man-page instead.

From Michal Spacek, thanks!
2008-02-11 18:03:14 +00:00
garbled
55804a6f72 Use model_init to clean up how we decide the ranges for
PCI_NETBSD_CONFIGURE.  Add some code to hopefully better handle the
firepower and powerstackII, based on the OFW dumps from those machines.
Untested on those machines, but doesn't break anything on pegasos/7044.
2008-02-11 17:32:18 +00:00
mjf
0294141b16 Typo fix 2008-02-11 15:49:00 +00:00
ad
64da32e634 Don't decode union vnodes or f_usecount. XXX A lot of this belongs to gdb. 2008-02-11 15:22:43 +00:00
ad
dfbf3a255f Correct a comment. 2008-02-11 15:20:41 +00:00
ad
a3fb849dfc Clarify what membar_enter/membar_exit provide. 2008-02-11 15:12:07 +00:00
ad
1b2aff1f03 Note many of the restrictions, and clarify the section on global
visibility.
2008-02-11 15:01:24 +00:00
ad
b3193dc791 Only build atomic ops for libkern/libc. 2008-02-11 14:21:11 +00:00
mlelstv
7d949cc4cd Can't do math on void * 2008-02-11 13:51:35 +00:00
plunky
307f630315 remove unused code (it will never be used) 2008-02-11 11:26:15 +00:00
plunky
0bda0fe19b add details relating to v2.1 of bluetooth specification 2008-02-11 11:23:46 +00:00
xtraeme
7794776b36 Attach ahcisata(4) to any RAID controller that supports AHCI, and make it
pass the ATAC_CAP_RAID capability for them. ok'ed by bouyer@.
2008-02-11 08:23:48 +00:00
dyoung
d469b65bb0 Also bump the minor on the second occurrence of libc.so. :-) 2008-02-11 05:57:30 +00:00
simonb
93469128b0 Don't look for <stdbool.h> if compiling _STANDALONE as well. 2008-02-11 04:47:21 +00:00
mrg
50db200360 be more explicit about needing version 1.9 of ofwboot for new kernels. 2008-02-11 04:14:18 +00:00
dyoung
4ef6fc056a #include <sys/evcnt.h> instead of <sys/device.h>, since the former
is sufficient, anyway.  Do not needlessly #include <sys/device.h>.

Note well: device_t is not part of the kernel ABI.
2008-02-11 03:51:17 +00:00
dyoung
e90c5683d4 Suggest #include <sys/evcnt.h> instead of <sys/device.h>, since
the former is sufficient, and the latter pulls in oodles of
unnecessary stuff.
2008-02-11 03:49:13 +00:00
dyoung
6127f4ed3f Don't get under the device_t abstraction by measuring the length
of dv_xname, especially not to set the length of a buffer that
(apparently) belongs to the kernel ABI.  Instead, set the buffer
length to 16, which is the current length of dv_xname.
2008-02-11 03:36:25 +00:00
ichiro
bb98e5cd32 regen. 2008-02-11 02:23:32 +00:00
ichiro
f5c8edbfe7 add new device support to uhmodem driver
PR/37985 from Yojiro UO
2008-02-11 02:23:09 +00:00
degroote
f3f9c5b3a1 Fix build of FAST_IPSEC after the change of ip_newid prototype 2008-02-10 21:42:20 +00:00
ragge
eb30206a9f Adapt to new import of pcc. 2008-02-10 20:32:25 +00:00
ragge
9c40de1cfe PCC 0.9.9-080210 2008-02-10 20:04:50 +00:00
elad
8f8e9e057c Xref security(8) from veriexec(4), veriexec(9), veriexecctl(8), and
veriexecgen(8).

Suggested by Matthew Mondor.
2008-02-10 19:32:23 +00:00
ad
a67e1e3475 - Remove libpthread's atomic ops.
- Remove the old spinlock-based mutex and rwlock implementations.
- Use the atomic ops from libc.
2008-02-10 18:50:54 +00:00
ad
749400b704 Crank minor for atomic ops. 2008-02-10 18:47:06 +00:00
ad
b5b3e9fb51 Enable the atomic ops in userspace. 2008-02-10 18:45:40 +00:00
christos
da86f0e587 Add a CPUID keyword; idea and some of the code from Anon Ymous 2008-02-10 17:47:59 +00:00
plunky
7acc9392e5 add HCI definitions from the Bluetooth 2.1 spec 2008-02-10 17:40:54 +00:00
jmmv
6d229870a6 Add more detailed checks for each of the primary modctl commands. 2008-02-10 16:02:24 +00:00
macallan
9a7aee14e2 bunch of minor fixes:
- use default colour when clearing the screen on attach
- sprinkle some break; so we no longer panic in 32bit colour
- allow userland to mmap() engine registers but not TLBs
- get rid of a delay() in crmfb_wait_idle()
- use aprint_*()
2008-02-10 16:01:30 +00:00
ad
9c43df3853 We've got the priority/class stuff now. 2008-02-10 14:52:05 +00:00