christos
3b75967235
make fileio.h work with objdir.
2009-04-06 00:48:19 +00:00
christos
b10afc8344
regen
2009-04-06 00:48:04 +00:00
martin
ecad31aebd
Now that we use ?= to optionally assing to ddb.onpanic, match that when
...
testint existing configurations too.
2009-04-06 00:30:33 +00:00
tsutsui
d5a18ca183
Remove redundant call of check_partitions().
2009-04-05 22:22:27 +00:00
dholland
c9388f6666
Fix broken build from missing comma. (HI CHRISTOS!!)
2009-04-05 21:19:37 +00:00
christos
568f8242aa
PR/41144: ntpd dies when syncing, use octal format to avoid \xcCLOCK to be
...
parsed as \xcc
2009-04-05 19:59:26 +00:00
christos
b01113f755
use the proper status variable.
2009-04-05 17:33:11 +00:00
bouyer
f8059f7e67
m_split0(): If the newly allocated mbuf holds only the header,
...
don't forget to set m_len to 0. Otherwise whatever will compute the size
of this chain (including s_split() itself if called again on this chain)
will get it wrong, leading to various issues.
Bug exposed by the NFS server code with linux clients using TCP mounts.
2009-04-05 16:31:21 +00:00
apb
dc1b0e5339
Fix broken "prev" pointer in one case.
2009-04-05 15:47:03 +00:00
pooka
f505490c8d
Invariants should be tested for with KASSERT instead of semi-pretending
...
that them not holding is an acceptable error condition.
2009-04-05 15:10:41 +00:00
dogcow
f0f15c8b0d
Watch one's "p"s and "q"s and fix cast aspersions on alpha ("warning: field
...
precision should have type 'int', but argument 2 has type 'long int'")
2009-04-05 12:15:07 +00:00
lukem
7b61bfdc7c
fix sign-compare issues
2009-04-05 12:06:33 +00:00
lukem
aa4393e8f7
WARNS=4
2009-04-05 12:04:04 +00:00
lukem
cf65938aa6
fix sign-compare issues
2009-04-05 12:03:48 +00:00
lukem
2b2f4703f2
fix sign-compare issues
2009-04-05 11:48:02 +00:00
cegger
56ce1b94f8
buildfix: include <sys/device.h> for device_t
2009-04-05 09:56:16 +00:00
cegger
b61989a8ff
buildfix: include <sys/selinfo.h> for struct selinfo.
2009-04-05 08:33:04 +00:00
tsutsui
5b474e0dd4
Add some noticeable changes pulled up recently.
2009-04-05 06:50:11 +00:00
uwe
6a2ffc8f1b
Provide pmf(9) hooks that do what dopowerhooks(9) hook does.
...
XXX: Do NOT call pmf_class_network_register() yet, b/c db8320.c
doesn't provide if_stop method!
2009-04-05 03:37:07 +00:00
uwe
4e37bb5a9c
Register with pmf(9), tell it we don't need anything.
2009-04-05 02:29:40 +00:00
uwe
c7b2923b5e
Register null hooks with pmf(9) for now, which is no worse than before
...
and allows us to test other things. Power management is still done
via CONFIG_HOOK_POWERCONTROL_LCD.
2009-04-05 02:23:00 +00:00
uwe
620a6f25ea
Register with pmf(9), tell it we don't need anything.
2009-04-05 02:18:59 +00:00
tsutsui
6084f8a077
Remove unused check_partitions().
...
The similar check is done in check_one_root() in label.c.
2009-04-05 02:18:41 +00:00
uwe
b22b1f73c6
Register with pmf(9), tell it we don't need anything.
2009-04-05 02:17:18 +00:00
uwe
fd239c627a
Register with pmf(9). Thus we register with both dopowerhooks(9) and
...
pmf(9), but they are mutually exclusive (apm(4) vs apmdev(4)).
Express pmf(9) hooks in terms of dopowerhooks(9) hook - the reverse
would be more natural, but pmf hook signature is hidden behind
PMF_FN_ARGS/PMF_FN_CALL, so just go the least intrusive way for now.
2009-04-05 02:14:41 +00:00
uwe
2ec6410a85
Register with pmf(9), tell it we don't need anything.
2009-04-05 02:04:40 +00:00
uwe
12a9718711
Split device_t and softc.
2009-04-05 01:48:47 +00:00
tsutsui
0f22466110
Use #define<tab> consistently.
2009-04-05 00:57:56 +00:00
uwe
28794590b6
Register null hooks with pmf(9) for now, which is no worse than before
...
and allows us to test other things.
2009-04-05 00:56:20 +00:00
tsutsui
47fb91c8ba
Remove __HAVE_UFS2_BOOT since it belongs to sysinst for now.
...
"Feel free to change it" by ad@.
2009-04-05 00:54:21 +00:00
tsutsui
df90698b99
- introduce machine dependent DEFAULT_UFS2 and HAVE_UFS2_BOOT flags in md.h
...
- use those flags to change default ffs type, rather than adding
__HAVE_UFS2_BOOT in <machine/types.h>
Okay'ed by martin@, briefly tested on i386.
2009-04-05 00:50:51 +00:00
uwe
fe0f5148ae
Register with pmf(9), tell it we don't need anything.
...
btnmgr(4) is just a hub for other devices to plug into with
config_hook(9), there is no real hardware to manage.
2009-04-05 00:34:42 +00:00
uwe
375ebd8c0b
Register null hooks with pmf(9) for now, which is no worse than before
...
and allows us to test other things.
2009-04-05 00:22:27 +00:00
uwe
c68d2565cb
Register with pmf(9), tell it we don't need anything.
2009-04-05 00:17:56 +00:00
uwe
584c995418
Register with pmf(9), tell it we don't need anything.
2009-04-05 00:04:51 +00:00
uwe
e7c8b2e888
Register with pmf(9), tell it we don't need anything.
2009-04-04 23:45:24 +00:00
joerg
7bacb5af4b
Reimport libfetch-2.23 from pkgsrc, at least one change was lost.
2009-04-04 23:26:03 +00:00
tsutsui
354a9e7cdc
Also put bootxx_ffsv2 into installation ramdisk.
...
XXX: is it worth to put bootxx_lfs nowadays?
2009-04-04 23:24:07 +00:00
joerg
ace0f41f53
Restore SpeedStep settings on shutdown. Some BIOSes don't like it, if
...
SpeedStep is enabled and powerdown fails otherwise. Fixes PR kern/40487.
2009-04-04 23:13:18 +00:00
ad
ddf65d893c
Update the big comment block.
2009-04-04 22:34:03 +00:00
joerg
9d6b98ae28
If drvctl -l is used without argument, print the root device nodes.
2009-04-04 22:05:47 +00:00
apb
c5c8c1dcb2
Tags are internally stored with leading and trailing commas, for ease
...
of using strstr(3) to check them against inclusion or exclusion lists.
Don't output the leading or trailing commas.
2009-04-04 21:49:49 +00:00
joerg
3cb902383f
Allow querying for root devices in the tree by specifying an empty
...
device name. Ensure that l_devname is NUL-terminated and fail otherwise.
OK cube@
2009-04-04 21:49:05 +00:00
christos
9587268219
fix pasto: don't print the critcap when the warncap was asked. Also off by
...
one in length. From Anon-Ymous.
XXX: Should pull up to 5.0
2009-04-04 18:43:01 +00:00
wiz
88ada6d2b7
Convert to mdoc. Bump date for previous.
2009-04-04 17:29:59 +00:00
plunky
bb505f700b
Because the IFF_NOARP flag is a negative option it needs to be negated
...
when being applied from the "arp" option which itself is positive.
problem demonstrated by
# ifconfig tap3 create
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 arp
# ifconfig tap3
tap3: flags=8882<BROADCAST,NOARP,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 -arp
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 destroy
#
2009-04-04 17:10:19 +00:00
perry
4cfab35c9c
New feature: "?" for time specifications, means a single time selected at
...
random from within the range at file read time. Very useful if you
want to avoid having a fleet of machines melt a server by all trying to
contact it at a precise time every morning. See docs for details.
Reviewed by: christos, apb, vixie, others.
XXX apb suggests, quite reasonably, that ?10-16/2 should mean
something like 10,12,14,16 or 11,13,15. I'm too lazy to do it right
now, but it should be done.
XXX vixie suggests, quite reasonably, that if you're using "?" one
should delay randomly by 0-59 seconds. In the modern NTP world, you
could imagine that with a million well synchronized machines the
second just at the minute would be hit quite hard. I'm too lazy to do
it right now, but it should be done.
XXX cron needs to be updated to Vixie's cron 4.1 code.
2009-04-04 16:05:10 +00:00
bouyer
0c046062f0
Fix another typo
2009-04-04 15:53:49 +00:00
bouyer
11abca258d
Fix a comment, and make it build.
2009-04-04 15:47:28 +00:00
bouyer
7f8c56170f
Fixes from Masao Uebayashi
2009-04-04 15:31:47 +00:00