pooka
6f6b6bc6df
\n, police!
2010-03-27 02:37:34 +00:00
pooka
57fb3b92e2
Access fifoinfo only when it's non-NULL.
2010-03-27 02:33:11 +00:00
christos
4f083821e4
deal with missing CLOCK_REALTIME
2010-03-26 21:33:28 +00:00
pgoyette
6c1f2c419a
Make this work the way the preceeding comment blocks says it works, and
...
break out of the while{ } when the callback returns false, not when it
returns true!
2010-03-26 21:06:25 +00:00
mjacob
06aa1abd00
Synchronize with other platforms:
...
Strongly architect handles so we can more easily detect bogus
handles. This switches us to a full 32 bits for all handles.
Handle the case of FC disks disappearing and then reappearing-
at least at the FC transport level.
Some better and finer control of debug and non-debug printouts.
2010-03-26 20:52:00 +00:00
pgoyette
1de3adb5f4
Add a routine to iterate over all the sensors on the system. This will
...
be needed to update acpiapm_get_powstat() which is currently slightly
broken due to recent rearrangement of acpi_bat(4)'s sensors. (This
approach is in lieu of exporting proplists between kernel entities, and
avoids exposing some internal sysmon_envsys details.)
2010-03-26 20:31:06 +00:00
wiz
4013e73f8c
Uppercase Dt argument. Fix a typo. Improve wording in one sentence.
2010-03-26 19:43:04 +00:00
wiz
dcfc2c5bc2
Split Nm argument in NAME section on multiple lines, like usual.
2010-03-26 19:40:41 +00:00
pooka
acd98b55f4
rootfstype is not a vfs stub, so it doesn't belong in vfs_stubs
2010-03-26 18:21:28 +00:00
pooka
a183ecd06c
Remove unused opt_bluetooth.h
...
plunky: "feel free"
2010-03-26 18:15:15 +00:00
christos
b1d42d353c
make kernobjdir absolute.
2010-03-26 18:02:14 +00:00
dyoung
bfe5593bc2
In ieee80211_media_init(), change a pointer that we never write
...
through to a pointer to const.
2010-03-26 17:18:05 +00:00
jakllsch
35c90d315d
Use objcopy rather than ld to copy Intel NPE firmware blob into ELF.
...
Avoids internal error in newer binutils ld.
Should fix PR/42864 and PR/43057.
2010-03-26 15:55:33 +00:00
pooka
54be9a9f62
Catch up with cosmetic changes to output from config(1)
2010-03-26 15:51:55 +00:00
pooka
b7a2b071f9
Put cfdata* in a similar namespace with cfdriver** cfattachinit*.
...
This was nagging me already yesterday, but I decided to leave it
alone for better compat with old ioconf.c builds. But as it turns
out, new code depends on newly built ioconf.c with a new config(1)
anyway, so renaming is not an issue (at least not at this stage).
While renaming, namespace cfdriver and cfattach in "ioconf" rather
than "comp", since the former reflects the config(5) keyword.
2010-03-26 15:51:17 +00:00
jakllsch
c2ca7b837e
Fix build of i386 ALL kernel with patch from Greg A. Woods in PR/43056.
2010-03-26 15:46:04 +00:00
pgoyette
e235f1e850
Export the sensor device's class.
2010-03-26 12:36:59 +00:00
cegger
1359eca921
toolchain buildfix on OSX with MKDTRACE=yes:
...
The host <sys/time.h> doesn't provide CLOCK_REALTIME but ctf uses it.
See http://mail-index.netbsd.org/current-users/2010/03/20/msg012963.html
No comments.
2010-03-26 07:16:12 +00:00
pooka
929e108067
Convert to config_init/fini_component.
...
tested by jruoho
2010-03-26 05:59:26 +00:00
pooka
11815d9c1d
Depend ioconf.c on config (if doing a USETOOLS==yes build).
...
While this is not strictly sensible, it keeps UPDATE=1 builds
rolling if I change some aspect of config (such as adding the
cfdriver/cfattach lists now). This is going away eventually.
2010-03-25 20:37:36 +00:00
pooka
1af4db65a0
define the incredible FLAWLESSCALL macro in one place
2010-03-25 19:54:19 +00:00
pooka
28a9c4ad96
use config_init_component()
2010-03-25 19:54:08 +00:00
pooka
abc34bd561
Generate cfdriver and cfattach lists for ioconf configs.
2010-03-25 19:39:05 +00:00
pooka
8b70574df1
Add init/fini for components (modules etc.). These eat the standard
...
driver/attach/data typically present and once some locking is grown
in here, these routines can be made to fail or succeed a component
attachment/detachment atomically.
2010-03-25 19:23:18 +00:00
dholland
d4ca0466e8
Avoid SIGSEGV in forked child process for (some?) instant-disconnect clients.
2010-03-25 16:36:00 +00:00
jruoho
69b3087bc0
Minor spelling fixes.
2010-03-25 15:34:30 +00:00
jruoho
c6f31e5d95
Vaguely describe the frame-parameter. Beautify.
2010-03-25 15:17:38 +00:00
jruoho
38cd37cea1
Mention the updated hz(9) here.
2010-03-25 15:09:05 +00:00
pooka
7fb0f92c04
Check open return value and close fd when we're done.
2010-03-25 15:00:20 +00:00
jruoho
cbdab0119f
In addition to 'hz', document also 'tick', 'tickadj', 'stathz', and 'profhz'.
...
The idea comes from OpenBSD, but this was written largely based on the
comments in kern_clock.c. XXX: schedhz?
2010-03-25 14:59:36 +00:00
jruoho
7294899bb7
Add pfind(9).
2010-03-25 10:21:09 +00:00
jruoho
c7e9fc77aa
Document p_find(), pfind(), pg_find(), and pgfind().
...
XXX: Needs a quick proofread.
2010-03-25 10:09:54 +00:00
jruoho
4a1c4330a9
Add stdlib(3).
2010-03-25 07:03:33 +00:00
jruoho
df0a5adb89
Document <stdlib.h>.
...
Written with minimum maintenance costs in mind; only the defined types and
macros are described.
2010-03-25 06:56:20 +00:00
explorer
fc70b598c4
fix the pthread pt_lid in the fork callback function that runs in the child instead of a function that may be going away. KNFify
2010-03-25 01:15:00 +00:00
joerg
ea34e88ea7
Merge
2010-03-24 20:52:39 +00:00
joerg
0ab1cb6dc1
libfetch-2.31:
...
PR 43013 by Brook Milligan: fetch(3) violates RFC 1738 for ftp:// URLs
if the home directory is not the root directory.
Remember the current directory the first time a CWD / CDUP has to be
issued. Use the document as full URL if the URL started with two /
(quoted or not), otherwise append it to the initial directory.
2010-03-24 20:51:41 +00:00
tnn
7c4a3fc1a3
sys/dev/ic/videomode.h is almost identical to sys/dev/videomode/videomode.h
...
Remove the former.
2010-03-24 19:33:51 +00:00
njoly
3e46e29198
Fix ENVSYS_DEBUG build.
2010-03-24 19:15:00 +00:00
scw
a239f60810
Update with new download link provided by Marcin M. Jessa in
...
http://mail-index.netbsd.org/port-arm/2010/03/24/msg000912.html .
Add a note about version 3.0 microcode.
2010-03-24 13:55:04 +00:00
pgoyette
7e351badfc
In sysmon_envsys_sensor_event(), permit delivery of all events for the
...
sensor if no event type is specified.
2010-03-24 13:11:41 +00:00
skrll
2bc65cd509
Correct the list of traps that we need to get the va and space from
...
ii[os]q.
From OpenBSD.
2010-03-24 12:56:30 +00:00
skrll
c2008f6d9b
Improve panic message.
2010-03-24 12:38:55 +00:00
pgoyette
0c7008e9c3
Set the SME_INIT_REFRESH flag so that the sensors' values (including
...
charge's max_value) are available when the event monitors are created.
2010-03-24 12:18:54 +00:00
pgoyette
f8d161b1f5
Do the initial refresh before creating the event monitors, in case the
...
event monitors require some of the data loaded by the refresh. For
example, the initial refresh might load sensor limits and max_value in
addition to the cur_value.
2010-03-24 12:15:54 +00:00
explorer
3f82e012db
Correctly set pt_lid in the child, after a fork
2010-03-24 07:27:22 +00:00
pgoyette
c998024539
Only set the APM_BATT_FLAG_NO_SYSTEM_BATTERY if _all_ batteries are
...
not_present.
2010-03-24 01:45:37 +00:00
dyoung
f52f7d91ef
Do not use unitialized bus_space_tag_t's. Use the tag(s) from the
...
attachment arguments.
2010-03-24 01:13:30 +00:00
macallan
6e669af40f
mention cgtwelve
2010-03-24 00:41:21 +00:00
macallan
4e7878cd4e
enable CG12 support
2010-03-24 00:39:07 +00:00