Commit Graph

166946 Commits

Author SHA1 Message Date
joerg
5d2d87e3f2 Fix quoting of string literals, printing of names and add most ACPI 3.0
opcodes. This is good enough to create output that can be compiled with
acpi-iasl to the same binary as it would create from its down ASL dump
on my laptop, when I manually fix the use of reserved identifiers in the
DSDT.
2008-02-13 11:47:36 +00:00
ad
5b8e4426cc spllower: change address mode slightly to work around a bug in qemu.
PR port-amd64/37714.
2008-02-13 11:38:03 +00:00
rillig
e477e0fd7c I tried to add a partition to the swap space that wasn't marked as swap
partition, and I got ENXIO. Since the existing description didn't apply
to this case, I added another.
2008-02-13 11:10:31 +00:00
rillig
ae9e303fcf Aligned the text of ENXIO with the one in gen/errlist.c. 2008-02-13 10:48:18 +00:00
yamt
5bc7b930ef reject files larger than nm_maxfilesize. 2008-02-13 09:51:37 +00:00
yamt
ee4ca4551d nfs_mountroot: kmem_alloc+memset -> kmem_zalloc 2008-02-13 09:47:12 +00:00
skrll
5bdccff36c CARP is Common *Address* Redundancy Protocol 2008-02-13 09:25:24 +00:00
wiz
4c222cd05a + file-4.23, less-418. 2008-02-13 07:33:27 +00:00
simonb
8b21752dcd KNF previous change. 2008-02-13 04:17:26 +00:00
dogcow
26a84bff72 add missing %. (hi matt!) 2008-02-13 03:55:54 +00:00
dogcow
40aa5193f8 make it compile. 2008-02-13 02:11:42 +00:00
smb
585d42043e Patch from Jared McNeill to prevent USB interrupt storms on resume on
Thinkpad T61.  (Note: to prevent a very similar-seeming problem, T61
users should also install firmware 2.06 or later, according to thinkwiki.)
2008-02-13 00:52:44 +00:00
mlelstv
20eb004e2e Add some initialization magic from FreeBSD. This makes it work with
the more recent PL2303 revision 4.
2008-02-12 22:29:54 +00:00
joerg
6d51094880 Add missing assym.h dependency. 2008-02-12 22:27:27 +00:00
uwe
33c3cdcb5b Minor cosmetic - add blank like so that "if" is not visually jammed
into preceding "else if".  Correct #endif comment.
2008-02-12 21:47:46 +00:00
joerg
dd20faf2af Convert to device_find_by_driver_unit. 2008-02-12 19:53:46 +00:00
drochner
b399335799 add NULL power handler, so that this device doesn't block suspension 2008-02-12 19:37:51 +00:00
drochner
58cba952a0 remove a stale __weak_alias (code went into the compat section) 2008-02-12 19:36:06 +00:00
ad
2d0314d313 Always enable memory barriers in userspace, otherwise libpthread won't
work correctly on MP systems.
2008-02-12 18:40:28 +00:00
ad
b86eac67c4 Correct a dodgy alias. 2008-02-12 18:35:38 +00:00
joerg
3e26d48f15 Use device_find_by_xname and device_find_by_driver_unit. 2008-02-12 18:29:22 +00:00
joerg
3b139e1f2b Add a bunch of missing assym.h dependencies. 2008-02-12 18:26:48 +00:00
joerg
4d4af868ab Garbage collect the remaining parts of COMPAT_OLDBOOT. The boot loader
support has been removed at least 4 years ago and NetBSD 1.3 is ancient.
2008-02-12 18:22:39 +00:00
dyoung
d7eb80c17b Use device_is_active(). 2008-02-12 18:03:43 +00:00
joerg
11cd27a036 Don't sleep for 0.5s before powering down the machine with ACPI. 2008-02-12 17:52:18 +00:00
joerg
e69482d49d Introduce device_find_by_xname and device_find_by_driver_unit to replace
alldevs iterations all over src.

Patch discussed with and improved on suggestioned from cube@.
2008-02-12 17:30:57 +00:00
joerg
862a285bde Explicitly predict panic conditions as false. 2008-02-12 13:05:55 +00:00
joerg
db0043926a Provide a simplified inplace version of in6_cksum.
Tested by is@ on amd64.
2008-02-12 13:02:24 +00:00
elad
274b48425f Default deny and explicit allow policy in all listeners.
No objections on tech-security@ and tech-kern@.
2008-02-12 12:05:27 +00:00
he
301a1d2d21 Need to include <sys/fstypes.h> before <sys/vfs_syscalls.h> to get
fhandle_t defined, which is used in a function prototype in the latter.
2008-02-12 10:59:57 +00:00
yamt
137ed4c3f9 nfs_kqfilter: fix lock/unlock mismatch. PR/38003 from Geoff C. Wing. 2008-02-12 08:55:27 +00:00
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