Commit Graph

179418 Commits

Author SHA1 Message Date
martin
58cbc21957 systime() is not needed here - as the man page clearly points out.
Noticed by pooka.
2009-04-08 13:29:59 +00:00
joerg
910b7ec5c5 Add missing .Os, improve column size. 2009-04-08 13:28:16 +00:00
joerg
94db796356 Fix markup. 2009-04-08 13:20:23 +00:00
martin
d37420f7ca Awk has strftime() and systime(), so no need to pipe the output of date
into the script - just do it internally.
2009-04-08 13:18:56 +00:00
joerg
32a51b5de6 Fix markup. 2009-04-08 13:13:42 +00:00
joerg
f558fc74ff Fix string literals. 2009-04-08 13:12:20 +00:00
joerg
74142f8859 Don't indent struct dkbad with tab, the rest of the man page doesn't do
that either.
2009-04-08 12:51:43 +00:00
joerg
6e936e04bf Replace .sp in literal display with empty line. 2009-04-08 12:50:00 +00:00
joerg
53fa5b1ba1 Fix markup of .Nm line, the comma is not part of the function names. 2009-04-08 12:46:04 +00:00
joerg
892f4bbba1 sprintf -> snprintf 2009-04-08 12:39:27 +00:00
pooka
1b5f62901e Hmm, this case was for MNT_LOG so enable it. No wonder I couldn't
repeat the problem with the patch reverted.  regression test
regression.
2009-04-08 12:29:05 +00:00
pooka
565dd9ed11 descend into ffs 2009-04-08 12:09:04 +00:00
pooka
a56fe8c09f regression test for kern/40948 2009-04-08 12:08:17 +00:00
pooka
f698904d75 * convert to KNF
* pass WARNS
2009-04-08 09:11:34 +00:00
pooka
d08d606875 atf_tc_fail() instead of err() 2009-04-08 09:05:16 +00:00
pooka
f7bf33df40 make test duration bound by time instead of by number of rounds 2009-04-08 08:57:24 +00:00
apb
bde6809f51 Add usr/tests/util/mtree 2009-04-08 06:55:09 +00:00
dyoung
222f7adf37 Refactor slightly to create acpi_rescan(), a hook for rescanning the
devices that attach at acpi(4).

Begin deriving an acpi(4) device-detachment hook, acpi_detach(), from
acpi_attach().  The code between #if 0 and #endif still needs to be
turned to the opposite calls (enables to disables, maps to unmaps,
attaches to detaches), which should be run in the opposite order.
Somebody with deep ACPI knowledge can probably finish this off without
too much trouble.
2009-04-08 00:23:30 +00:00
dyoung
5b0576e7eb Add acpitimer_detach() to eventually support acpi(4) detachment. 2009-04-08 00:15:45 +00:00
dyoung
99084a32b0 Decrease midi_pcppi_attached when midi at pcppi detaches. 2009-04-08 00:12:27 +00:00
dyoung
1de2a73134 Make pcppi(4) detach the "speaker" from attimer(4), so that the
corresponding attimer(4) resource is not perpetually busy: now it
is possible to detach and to reattach pcppi(4).  Make attimer(4)'s
device-detachment hook return EBUSY if pcppi(4) is still attached, so
that pcppi(4) cannot end up with a dangling pointer to attimer(4).
2009-04-07 22:30:09 +00:00
christos
a7c918477d from ftp.gnu.org 2009-04-07 22:10:01 +00:00
apb
534e2679af Changes for installing with a metalog:
* When installing hard links and using a metalog, if -o, -g, -m, or -f
  args were explicitly specified on the command line, then believe them,
  but do not implicitly believe uname/gname/mode/flags from the file
  system.
* Add a size= field (only for plain files).
* Output fields in the same order used by mtree.
2009-04-07 22:07:54 +00:00
dyoung
b6889a3f64 Let us re-attach acpi0, ipmi0, pnpbios0, and mca0 at mainbus0.
Extract code from mainbus_attach() to create a rescan hook,
mainbus_rescan().  Call mainbus_rescan(, "acpibus"/"ipmibus"/..., ) from
mainbus_attach() in the precise places where we used to attach acpi0,
ipmi0, pnpbios0, and mca0.  This allows, for example, ipmi0 to detach
and re-attach:

# drvctl -d ipmi0
ipmi0: detached
# drvctl -r -a ipmibus mainbus0
ipmi0 at mainbus0
#

Future work will let us detach & re-attach CPUs and the ISA/PCI/EISA
buses at mainbus0.
2009-04-07 22:01:38 +00:00
dyoung
3afac3e189 Fix spelling: mak -> make. 2009-04-07 21:49:36 +00:00
dyoung
00644496f7 Fix spelling: indrect -> indirect. 2009-04-07 21:48:46 +00:00
dyoung
20d48b47c0 When ipmi0 detaches, free all of the ipmi_sensor's on the (global!)
ipmi_sensor_list.
2009-04-07 21:47:58 +00:00
dyoung
deeb71246e In ipmi_detach(), don't sysmon_envsys_destroy(), but just _unregister():
_unregister() calls _destroy().
2009-04-07 21:00:30 +00:00
pooka
163d880b1a add regression test for kern/41128 2009-04-07 20:51:46 +00:00
apb
f328a72950 Print debug messages only when MAKEVERBOSE >= 3, not when
it is >= 2.  MAKEVERBOSE=2 is teh default, and the messages
are too noisy.
2009-04-07 20:46:20 +00:00
perry
a992ea7967 Fixes from christos for pr-41167
XXX -X is still broken, but that wasn't part of this PR.
2009-04-07 19:52:35 +00:00
tez
77737913e5 Add myself to the list of developers. 2009-04-07 19:52:04 +00:00
apb
854eeab1fc Add tests for "mtree -C" and "mtree -D". Add "link" keyword to
previous mtree tests.
2009-04-07 19:28:40 +00:00
msaitoh
eb993d20f8 Reload sc_ctrl in wm_reset().
Add an ICH10 entry.

Remove some obsolete comments.
2009-04-07 18:42:30 +00:00
msaitoh
e1c695ebf8 regen 2009-04-07 18:41:06 +00:00
msaitoh
0712fe9fe0 add 82801J_D_BM_LF (ICH10) 2009-04-07 18:40:39 +00:00
pooka
291176ecc3 Make it possible to use VCHR devices again. 2009-04-07 18:35:49 +00:00
dyoung
3098a4fbed Detach atapibus(4), scsibus(4), cd(4), and sd(4) during shutdown.
Destroy sd->sc_callout in sddetach().  Delete some dead code in
cddetach().
2009-04-07 18:35:17 +00:00
pooka
47c972421f Fix typo that slipped in a while ago. Fixes non-file mounts. 2009-04-07 18:34:18 +00:00
dyoung
18789e2def Detach midi at pcppi during shutdown. Sprinkle static. 2009-04-07 18:31:12 +00:00
dyoung
b429c26fd3 Detach ehci(4) and uhci(4) at shutdown. 2009-04-07 18:25:26 +00:00
dyoung
720a7dca79 Add opt_intrdebug.h for the INTRDEBUG option, and #include it here and
there.  Fixes GENERIC/i386 compilation with 'options INTRDEBUG'.
2009-04-07 18:24:23 +00:00
msaitoh
c52bc69c89 Fix about TBI mode. This fix doesn't influence MII mode.
- Fix SWDPIN(1)'s polarity on some chips.
 - Fix flow control stuff (includes PR#32009).
 - Stop RXCFG storm. It ocours easily.
 - And more fix about autonego.

Tested on PRO/1000F, PRO/1000XF and PRO/1000 MF.
2009-04-07 18:23:37 +00:00
msaitoh
0855c70d27 Fix about TBI mode. This fix doesn't influence MII mode.
- Fix panic in mediachange.
 - Fix SWDPIN(1)'s polarity on some chips.
 - Fix flow control stuff (includes PR#32009).
 - Stop RXCFG storm. It ocours easily.
 - And more fix about autonego.

Tested on PRO/1000F, PRO/1000XF and PRO/1000 MF.
2009-04-07 18:23:36 +00:00
dyoung
0873e7f203 Cosmetic: join lines. 2009-04-07 18:16:28 +00:00
dyoung
227c03169a Detach uhub(4) and usb(4) at shutdown. 2009-04-07 18:15:45 +00:00
dyoung
2e264f4086 Destroy a scsipi_xfer's callout before putting it back into the pool. 2009-04-07 18:10:45 +00:00
dyoung
f26cbc49c7 Destroy sc->bnx_timeout in bnx_detach(). 2009-04-07 18:07:10 +00:00
apb
62b6b42c6f fix another missing "prev" link 2009-04-07 18:06:41 +00:00
dyoung
63a5e91969 Detach brgphy(4) at shutdown. 2009-04-07 18:05:54 +00:00