Commit Graph

164619 Commits

Author SHA1 Message Date
jmcneill
61d17f24ea Make this compile again. 2007-12-13 16:53:28 +00:00
joerg
823959a6b2 Refactor interrupt dispatching. 2007-12-13 16:41:59 +00:00
pooka
6db2b1c100 LFS_KERNEL_RFW 2007-12-13 16:08:12 +00:00
xtraeme
04f935d910 Fix pmf_device_register() prototype, this returns bool and not void. 2007-12-13 15:37:33 +00:00
xtraeme
fcad73742f Check return value of pmf_device_register(), pointed out by joerg.
Looks like the pmf(9) manpage declared it as void and not bool...
2007-12-13 15:36:29 +00:00
joerg
1c47f4bb86 Switch to console on suspend and shutdown, switch back to where the
system was before on resume. This is the second attempt and got more
complicated due to the async nature of VT_ACTIVE. After the initial
switch, check that we ended up on the first screen and if not, wait for
the switch to happen.
2007-12-13 15:14:48 +00:00
jmcneill
2399e8e84e Restore the native mode PCI conf register on select chipsets on resume,
in case it was lost when power was removed.
2007-12-13 15:11:31 +00:00
pooka
074f023a65 Record inode number in psshfs_dir also for already instantiated
nodes when doing readdir.  This makes pwd work again for cases
where getcwd() actually has to do the "READDIR + compare inode
numbers" trick.

Yet another problem reported by jmmv.
2007-12-13 14:59:00 +00:00
joerg
5141501598 Stop the key pressed timeout on suspend to avoid virtually hanging keys,
e.g. when calling sysctl -w machdep.sleep_state=3 manually.
2007-12-13 14:49:42 +00:00
joerg
af42580f29 Don't count poll(2) and select(2) as device activity. Don't activate the
device on write(2) if it is suspended and was not idle.
2007-12-13 14:40:36 +00:00
pooka
343d277986 *blink*, remember to update comment too 2007-12-13 14:32:47 +00:00
pooka
794adab583 Do previous in a way which causes less waste of potential inode numbers. 2007-12-13 14:31:44 +00:00
jmcneill
67153124ea When resuming the audio device, call audiosetinfo with the last known good
parameters. Fixes an issue with suspending the audio device while playback
is paused.
2007-12-13 14:02:53 +00:00
sborrill
df6e82e8f8 Check whether we are loading from ustarfs and if so, do not attempt to
read boot.cfg.

Fixes PR install/37521. Heavily based on patch by Izumi Tsutsui.
2007-12-13 11:52:17 +00:00
dyoung
3ccfb020a3 Back out previous my previous change, it stops device resumption
entirely.
2007-12-13 09:17:43 +00:00
dyoung
4e2f6cc949 Do not reinitialize the NIC while it is suspended. 2007-12-13 09:04:39 +00:00
dsl
63f7948f02 Call sys_open() not bsd_sys_open(). 2007-12-13 07:54:22 +00:00
yamt
555511ff96 include <sys/user.h>. 2007-12-13 05:25:03 +00:00
uebayasi
d9547ee3a0 Regen. 2007-12-13 05:19:08 +00:00
yamt
fa92fe776c document whatis. 2007-12-13 02:45:51 +00:00
yamt
0c38201391 add ddb "whatis" command. inspired from solaris ::whatis dcmd. 2007-12-13 02:45:09 +00:00
yamt
b839442793 don't forget to initialize ph_off for PR_NOTOUCH. 2007-12-13 01:22:50 +00:00
jmcneill
645fe8c342 Try not to pass garbage to pci_make_tag; workaround for odd ACPI DSDTs.
Fixes kern/37527.
2007-12-12 23:33:22 +00:00
lukem
bcf893f432 use __RCSID() 2007-12-12 22:55:42 +00:00
bouyer
e2b280eabb cleanup the debug event handler to not use the IPL system at all. Fix
debug event storm on XEN2.
2007-12-12 22:16:32 +00:00
dsl
fc10f67856 Remove the wrapper functions for file operations that do nothing now
that namei() checks the alternate path.
2007-12-12 22:07:58 +00:00
dsl
ef3588e13f Regen, reformmatted, and without wrappers for file operations. 2007-12-12 22:06:19 +00:00
dsl
0f63820911 No need to wrap filename function to get the alt path stuff. 2007-12-12 22:04:30 +00:00
christos
22ec0fdf7e warns=4 2007-12-12 21:56:38 +00:00
dsl
f9ade37fe1 compat_file.[ch] are no longer used 2007-12-12 21:37:26 +00:00
dsl
9ae4eb70ff Regen 2007-12-12 21:29:43 +00:00
dsl
e26d16aac3 No need for any of the bsd_sys_foo() calls since they only wrapped
CHECK_ALT_XXX() for filenames - which got killed earlier in the year.
Substitute the same functions as in compat_file.c
2007-12-12 21:24:36 +00:00
dsl
0f47845a4f Add a definition of compat_12_stat_conv() here so I can kill compat_file.h 2007-12-12 21:17:57 +00:00
xtraeme
c10e464ab3 acpiecdt* at acpi? is required now. HI JOERG! 2007-12-12 21:12:45 +00:00
xtraeme
e2749a8b14 Xref battery_pmu(4). 2007-12-12 20:27:30 +00:00
xtraeme
a239f94d36 Rename battery(4) to battery_pmu(4), because at least we know that is
only specific to pmu.
2007-12-12 20:26:23 +00:00
macallan
2204867a54 add a simple battery(4) man page 2007-12-12 20:09:27 +00:00
apb
d38013a8c2 Document CPUFLAGS, and note that CFLAGS shold not be set in mk.conf. 2007-12-12 19:52:02 +00:00
bouyer
200e86ecad Initialize ci_idepth in cpu_info_primary, makes LOCKDEBUG kernels boot. 2007-12-12 19:25:38 +00:00
bouyer
0d1ad35f51 Remove duplicate entry for bouyer-xeni386. Pointed out by wiz@ 2007-12-12 19:24:13 +00:00
elad
021227aa78 Don't compile lfs_rfw.c, suggested by cube@. 2007-12-12 18:52:00 +00:00
he
cd15efd05d Fix a use of lfs_truncate() inside an #ifdef notyet (so no resulting change);
lfs_truncate() has lost its lwp argument.
2007-12-12 18:36:10 +00:00
he
8b0afebe4f Make this build again, as part of sys/lkm/dev/vnd/:
- lfs_truncate() has lost its lwp argument.
- Cast from void* to char* before doing pointer arithmetic.
2007-12-12 18:35:21 +00:00
macallan
7f37ac3821 fix sensor attachment 2007-12-12 18:19:20 +00:00
macallan
f53566168d make this compile again 2007-12-12 17:56:10 +00:00
xtraeme
c747551b64 puffs_fuse_node_create: if create() is specified set S_IFREG explicitly
to avoid passing unspecified mode. Fixes latest ntfs-3g... patch
from pooka tested by myself.
2007-12-12 16:37:56 +00:00
pooka
00b48f3e40 Fix lossage noticed by jmmv (mostly for -t 0 mounts) and make sure
a node always has the inode number set.  And since I'm feeling
generous, sprinkle a few comments around the affected areas (mostly
so that I'd remember what in the world the code is trying to do).
2007-12-12 16:04:35 +00:00
xtraeme
eb3500dc11 Fix previous with suggestion by cube: rather than checking for cpu_model[0]
check that cpu_vendor is CPUVENDOR_AMD.
2007-12-12 15:01:42 +00:00
yamt
c180823658 specify sections. 2007-12-12 14:58:58 +00:00
yamt
5576993097 restore section after RCSID. 2007-12-12 14:58:20 +00:00