Commit Graph

210739 Commits

Author SHA1 Message Date
macallan
54eeb2711b add license headers
I need to find a way to extract at least the copyright notice from the .ttf
file so ttf2wsfont can do this mostly automatically.
2012-04-10 16:16:03 +00:00
tls
65e7fe9a53 Fix LOCKDEBUG problems pointed out by drochner@
1) Lock ordering in cprng_strong_destroy had us take a spin mutex then
   an adaptive mutex.  Can't do that.  Reordering this requires changing
   cprng_strong_reseed to tryenter the cprng's own mutex and skip the
   reseed on failure, or we could deadlock.

2) Can't free memory with a valid mutex in it.
2012-04-10 15:12:40 +00:00
tls
2b09c6c851 Add a spin mutex to the rndsink structure; it is used to avoid lock
ordering and sleep-holding-locks problems when rekeying, and thus
to avoid a nasty race between cprng destruction and reseeding.
2012-04-10 14:02:27 +00:00
jruoho
23fb23b458 Gracefully shutdown upon reaching critical temperature levels. Prevents few
laptops (ThinkPad T61 and x61s, among others) from hitting the in-CPU reset.
2012-04-10 13:58:52 +00:00
jruoho
0addcacfb8 Now that 6.0 is branched, remove the ACPI-related sysctl nodes in machdep. 2012-04-10 13:48:24 +00:00
gson
92d7381de1 Fix cut-and-paste-os in panic messages 2012-04-10 13:45:07 +00:00
jruoho
3d037fc373 Fix wrong acronym. 2012-04-10 12:51:31 +00:00
jruoho
fd6c1df52d Do not skip the tests on Qemu, but point to PR misc/44767 instead. 2012-04-10 12:43:06 +00:00
jruoho
97f06f6fb9 Point to port-macppc/46319 when failing on macppc. 2012-04-10 03:59:59 +00:00
jruoho
a74ccce819 Test that sysctl(8) does not segfault, as reported by pgoyette@ on current
users.
2012-04-10 02:39:33 +00:00
jdf
ccba2c41c9 Make sysinst not store the keyboard or network configuration used while
upgrading, as issued by PR install/35538.
2012-04-09 23:18:31 +00:00
rkujawa
5317f873b5 Workaround for the fake X-Surf autoconfig entry, created by the Deneb firmware v11. 2012-04-09 19:55:00 +00:00
martin
4e00857f25 Fix asynchronous posix_spawn child exit status (and test for it). 2012-04-09 19:42:06 +00:00
riz
a59062a175 s/Createing/Creating/ 2012-04-09 19:22:49 +00:00
mlelstv
4c4531d7b7 return exit code from mount_XXXX again 2012-04-09 15:50:20 +00:00
kiyohara
ac5d1b9f81 + Fix panic() in cardbus_mapreg_map(). powerpc's bus-space uses extent(9).
obs405 calls rbus_new_root_delegate() instead of rbus_new_root_share().
+ Remove TABs from TAB-only-lines.
2012-04-09 14:44:01 +00:00
nisimura
84b214f158 The processor ExtClk value of Kurobox/T4 is comfirmed as 32768000. 2012-04-09 14:02:04 +00:00
nisimura
b6b259ed7f Change to use "kurot4" product name for Terastation TGL and
KuroBox/T4.
2012-04-09 13:26:37 +00:00
nisimura
6d4a5965d8 Refactor disklabel decode logic. RAIDFRAME case needs more attention
as it's not certain whether a general solution.
2012-04-09 12:40:55 +00:00
hannken
4856f6556b pcbmap(): We cannot use bread() here as for the pagedaemon getblk()
may fail leading to a panic in bread().
          Replace bread() with getblk() / VOP_STRATEGY() and return
          an error if getblk() fails.

Fixes PR#46282: 6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread

This is an interim solution for easy pullup.  The final solution
is be to change bread() to not return a buffer on error.  As
we have to change all callers of bread() this will not qualify
for a pullup.
2012-04-09 11:10:06 +00:00
plunky
1687854c43 Tidy up a little, the way that midi attachment code works
- change midi_attach() to omit the 'parent' arg (there are
  only two callers of this and it is not used)

- change midisyn_attach() to midisyn_init(), so not needing a midi_softc,
  and fix the midi_pcppi driver to set hw_if and hw_hdl directly in
  its midi_softc before calling midi_attach()

- add a device_t to opl_softc structure, change opl drivers to store
  the device 'self' in opl_softc and fix opl_attach() to use this
  opl_softc->dev field directly rather than a field in an otherwise
  unused midi_softc

- remove unnecessary midi_softc from opl and cms drivers (child device
  provides that)

reviewed by mrg
2012-04-09 10:18:16 +00:00
mlelstv
3348a6d20f regen 2012-04-09 08:10:30 +00:00
mlelstv
66bb40eeae Add Intel Sandybridge integrated graphics 2012-04-09 08:09:36 +00:00
wiz
be5cf4dc86 clang complains:
C++ default arguments are illegal in the function defininion.
christos@ ok
2012-04-09 00:24:57 +00:00
wiz
1ac719d147 Remove unnecessary Bk/Ek pairs from SYNOPSIS.
No effective change except where I used the opportunity to sort options
and/or option descriptions.
2012-04-08 22:00:37 +00:00
christos
e93329c39c print sizeof() with %zu 2012-04-08 21:18:46 +00:00
christos
ca7e8bb03f Fix compat code, so if we failed to make raw, return the regular path. 2012-04-08 20:56:12 +00:00
christos
d4b8bfc16d PR/46310: Ryo ONODERA: Add support for cardbus bwi(4) 2012-04-08 20:49:29 +00:00
chs
26b2b74f75 initialize amap per-page reference counts before changing the amap's
overall reference count.  this fixes the crashes seen for the last 9 months
with web browers and plugins, which was also the cause of PR 46193.
2012-04-08 20:47:10 +00:00
wiz
4fe94283f2 Cast argument to unsigned long for i386. 2012-04-08 20:41:18 +00:00
wiz
c1f6ba2db1 Fix a format string error clang found. 2012-04-08 17:04:19 +00:00
wiz
e57903e6cb Sprinkle __dead and __printflike for clang. 2012-04-08 17:04:07 +00:00
wiz
72e34f2f4a Split file system.
Comma fixes.
Remove dangling "and".
Bump date for previous.
2012-04-08 16:09:55 +00:00
wiz
9a7b574b58 End sentence with dot. 2012-04-08 16:06:23 +00:00
manu
6bceb41868 Use new PUFFS_KFLAG_CACHE_FS_TTL option to puffs_init(3) so that
FUSE TTL on name and attributes are used. This save many PUFFS
operations and improves performances.

PUFFS_KFLAG_CACHE_FS_TTL is #ifdef'ed in many places for now so that
libperfuse can still be used on netbsd-5.
2012-04-08 15:13:06 +00:00
manu
fb4eb35384 Add PUFFS_KFLAG_CACHE_FS_TTL flag to puffs_init(3) to use name and
attribute cache with filesystem provided TTL.
lookup, create, mknod, mkdir, symlink, getattr and setattr messages
have been extended so that attributes and their TTL can be provided
by the filesytem. lookup, create, mknod, mkdir, and symlink messages
are also extended so that the filesystem can provide name TTL.
The filesystem updates attributes and TTL using
puffs_pn_getvap(3), puffs_pn_getvattl(3), and puffs_pn_getcnttl(3)
2012-04-08 15:07:45 +00:00
manu
6e9ef39515 Add name and atttribute cache with filesytem provided TTL.
lookup, create, mknod, mkdir, symlink, getattr and setattr messages
have been extended so that attributes and their TTL can be provided
by the filesytem. lookup, create, mknod, mkdir, and symlink messages
are also extended so that the filesystem can provide name TTL.
2012-04-08 15:04:41 +00:00
jakllsch
fa7b9b37d1 regen. 2012-04-08 13:14:29 +00:00
jakllsch
407b8c7f47 Make the RS690 entries more closely match the terminology of the RS690
RRG/RPR/BDG documents.
2012-04-08 13:14:04 +00:00
jakllsch
71be90dcda As suggested in the previous commit, the overwrite of the pci_attach_args
is a bug.  Although I have not tested on real hardware, Linux's
pata_sl82c105.c only looks at the revision of the PCI bridge.
2012-04-08 13:08:02 +00:00
jakllsch
35bbcf62a7 regen. 2012-04-08 12:44:02 +00:00
jakllsch
756d2c5e05 - NEC uPD720100A is USB2.
- Add NEC uPD720200, a USB3 Host Controller
2012-04-08 12:43:36 +00:00
jakllsch
5801643229 Add IDs for Fresco Logic and their FL1000 and FL1009 xHCI chips.
Derived from OpenBSD.
2012-04-08 12:40:03 +00:00
nisimura
1f2ee430d2 Add an entry for "miconv2" satellite processor control. The button
press event handler remains unimplemented for now.  Use /dev/satmgr
to talk the processor.
2012-04-08 12:11:57 +00:00
martin
e6f332c7b3 Regen (posix_spawn) 2012-04-08 11:28:12 +00:00
martin
94b761b6aa Rework posix_spawn locking and memory management:
- always provide a vmspace for the new proc, initially borrowing from proc0
   (this part fixes PR 46286)
 - increase parallelism between parent and child if arguments allow this,
   avoiding a potential deadlock on exec_lock
 - add a new flag for userland to request old (lockstepped) behaviour for
   better error reporting
 - adapt test cases to the previous two and add a new variant to test the
   diagnostics flag
 - fix a few memory (and lock) leaks
 - provide netbsd32 compat
2012-04-08 11:27:44 +00:00
nisimura
ab2ed771fe Add an entry for Terastation TGL miconv2 satellite processor which
features a more complex protocol than Linkstation/Kurobox.
2012-04-08 10:38:34 +00:00
jruoho
8c481fc14f Append few basic test cases. 2012-04-08 09:58:59 +00:00
jruoho
ff8307152c Remove one xfail that does not seem to fail (on alpha). 2012-04-08 09:36:04 +00:00
cyber
05b3cc487c PR bin/45744
from Julian Fagir
Removing options that have had implementations removed.

-b: removed in -r1.4
-s: removed in -r1.2
2012-04-08 07:59:53 +00:00