Commit Graph

203769 Commits

Author SHA1 Message Date
rmind
1293cee4bd Replace some wakeup_one(9) uses with mutex(9) or plain wakeup(9). 2011-08-07 13:39:23 +00:00
rmind
52b220e91d Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel.
Suitable for use during the early boot.  MD and other implementations
should be replaced with this interface.

Discussed on: tech-kern@
2011-08-07 13:33:01 +00:00
jmcneill
f398b121d3 add the -t option that modifies -l behaviour to recursively scan for
child devices and print them in tree format:

$ drvctl -lt usb0
uhub0
  uhub6
    uhidev0
      ukbd0
        wskbd1
    uhidev1
      ums0
        wsmouse1
      uhid0
    ubt0
2011-08-07 13:00:35 +00:00
rmind
83fa217ed7 Fix .Xr to membar_ops(3), not membar(9). Spotted by wiz@. 2011-08-07 12:29:24 +00:00
mrg
46d22e869d re-run mknative for hppa. 2011-08-07 12:20:10 +00:00
jmcneill
3b8212e891 add an optional argument to the -p flag that lets you extract specific
property values from the command-line:

  $ drvctl -p wd0 disk-info/geometry/cylinders-per-unit
  620181
  $ drvctl -p wd0 device-driver device-unit
  wd
  0
  $ drvctl -p wd0 nonexistent || echo "not found"
  not found
2011-08-07 12:00:11 +00:00
mrg
c58b16c3fc after all the recent fixes, let's call this "NetBSD nb2 20110806" 2011-08-07 11:41:50 +00:00
wiz
495abc41ce Add serial comma, remove trailing whitespace, bump date for previous. 2011-08-07 11:37:06 +00:00
jmcneill
2cfa4ad9b3 prop_dictionary_get_dict: last argument is prop_dictionary_t *, not bool * 2011-08-07 11:33:03 +00:00
blymn
f23e1d9ef1 Merge the attributes into the returned characters. 2011-08-07 10:57:10 +00:00
blymn
9202e9d5c9 Document the return values for innstr and friends. 2011-08-07 10:55:59 +00:00
blymn
27325b933f Fix a bug that prevented instr and friends returning OK. 2011-08-07 10:54:53 +00:00
blymn
12654ca858 flush the output after writing the meta sequence. 2011-08-07 10:52:18 +00:00
tron
d8b8a5c188 Add commented out entries for V7FS and V7FS Endian Independent support. 2011-08-07 10:04:41 +00:00
mrg
d03772c2d1 note switch to GCC 4.5 on x86 2011-08-07 08:15:56 +00:00
mrg
f2baad49fd switch x86 to GCC 4.5. 2011-08-07 08:15:02 +00:00
dholland
d5b021c7ed Fix up some lint. 2011-08-07 06:03:45 +00:00
hannken
342315ffad Change union rmdir semantics to fail directory removal for
non-empty directories like all other file systems do.

Change test accordingly.
2011-08-07 06:01:51 +00:00
hannken
2a24cc6572 Allow removal of a directory containing only whiteouts and free them first. 2011-08-07 05:56:32 +00:00
mrg
5fab666e92 add gcc-4.5/tgmath.h 2011-08-07 02:18:56 +00:00
mrg
baa3508234 add a weak alias to __ffssi2, needed for hppa gcc 4.5. 2011-08-07 01:52:47 +00:00
mrg
c96a09b60c add gcc-4.5/tgmath.h 2011-08-07 01:49:12 +00:00
mrg
c37220dd3d whoops, properly copy the old libgcc spec. fixes libGLU on sh3. 2011-08-07 00:07:15 +00:00
christos
b166834bb8 PR/45217: Martin Matuska: Use proper lengths to space pad fields and don't
overwrite them according to the spec.
2011-08-06 23:25:19 +00:00
mrg
2f34a216cb add a note about cleaning the tree for GCC 4.5. 2011-08-06 23:07:14 +00:00
dholland
4804dbd307 Add wrapper functions around hash algorithm operations to avoid
undefined behavior arising from illegal function casts. As a side
effect, no longer need -Wno-pointer-sign either.
2011-08-06 20:46:42 +00:00
dholland
2c0ecb1ab6 Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
dholland
8041af98f6 Remove *another* set of useless casts. sheesh 2011-08-06 20:32:25 +00:00
dholland
8e73b3ad76 Remove more silly casts. 2011-08-06 20:29:37 +00:00
dholland
5aa2a843dc drop private (and wrong) definition of NULL 2011-08-06 20:24:35 +00:00
dholland
434d266e91 Use the right type for the malloc wrapper function, and don't cast the
return value.

(XXX: Except for a pile of allocation macros that produce typed pointer
results; there the typechecking of the result assignment is more valuable
than the warning if the alloc function isn't declared properly. These
macros should go away.)
2011-08-06 20:18:26 +00:00
dholland
25ec296591 Remove silly casts. 2011-08-06 20:00:33 +00:00
dholland
842dc544ae <sys/wait.h> is standard, so just use it instead of fiddling about with
ifdefs for long-dead systems. While here, remove union wait.
2011-08-06 19:53:24 +00:00
jnemeth
1539965555 Add description of MKKMOD, part of PR misc/45216 2011-08-06 19:52:49 +00:00
dholland
d30849d1cd abolish references to index/rindex 2011-08-06 19:47:54 +00:00
dholland
813e3e415d Remove the PYRAMID_BUG code. I don't think Pyramids are coming back, nor
do we care if their compiler vomits trying to decrement a bitfield.
2011-08-06 19:32:58 +00:00
dholland
cbc660deee Don't refer to index() in comments; use strchr(). 2011-08-06 19:23:38 +00:00
jmcneill
7b824e4df1 build fix: forgot to add sc_board to softc 2011-08-06 19:21:27 +00:00
rmind
39445b05bc - Rework uvm_anfree() into uvm_anon_freelst(), which always drops the lock.
- Free anons in uvm_anon_freelst() without lock held.
- Mechanic sync to unused loaning code.
2011-08-06 17:25:03 +00:00
jruoho
0221df4ea4 Mark ieee(3) as obsolete. Thanks for assistance, mbalmer, sigh. 2011-08-06 17:17:39 +00:00
dholland
51080e041d Simplify silly code and make it closer to type-safe. This causes amd64
gcc to reorder two pairs of instructions for some reason but the object
files are otherwise unchanged.
2011-08-06 17:01:06 +00:00
dholland
5750ccf174 No longer any need for -Wno-pointer-sign here. 2011-08-06 16:48:57 +00:00
mbalmer
0d397340b2 revert previous 2011-08-06 16:44:16 +00:00
dholland
36f9677de9 Avoid -Wno-pointer-sign. 2011-08-06 16:42:41 +00:00
dholland
2fb6ddee8c Add static to a private function. 2011-08-06 16:39:40 +00:00
dholland
f8a6ea099c Use explicit cast instead of -Wno-pointer-sign. The site in question is
already marked XXX so there's not much point in whitewashing it.
2011-08-06 16:34:40 +00:00
mbalmer
3b8c9b3e65 jruoho obsoleted the ieee(3) manpage; remove it from the list. 2011-08-06 16:23:55 +00:00
jakllsch
ae79d560ec Marvell 88SE9128 needs AHCI_PCI_QUIRK_FORCE. 2011-08-06 14:56:33 +00:00
jakllsch
8479ccf118 regen 2011-08-06 14:55:13 +00:00
jakllsch
ce733e83e0 Add Marvell 88SE9128. 2011-08-06 14:53:24 +00:00