Commit Graph

192727 Commits

Author SHA1 Message Date
pooka
d53b948607 fixed in kern_descrip.c:1.204 2010-08-04 14:26:18 +00:00
pooka
5777f63fd9 Remove overzealous KASSERT: the refcount can be non-zero if another
thread attempts to use a non-open file descriptor.  from ad

fixes PR kern/43694
2010-08-04 14:25:16 +00:00
joerg
21847f857f Simplify. 2010-08-04 13:56:10 +00:00
joerg
b6fbda43e7 TESTSBASE is provided by bsd.own.mk now. 2010-08-04 13:52:23 +00:00
pooka
fe16bec2c9 Update test program to deal with uuencoded golden data.
XXX: is it not possible to use a pipeline in atf_check?
2010-08-04 13:49:48 +00:00
pooka
c6145c7409 Actually, some nagging voice in my head tells me that all binary files
in the repo should be uuencoded, so uuencode the golden audio output.
2010-08-04 13:41:03 +00:00
pooka
f5615c2343 setlist lottery for dev/audio/pad test 2010-08-04 13:22:39 +00:00
pooka
7bd8b6f405 dev + dev/audio test dirs 2010-08-04 13:18:50 +00:00
pooka
f0a81636b4 Add test of pad(4): stuff some audio into /dev/audio, read it from
/dev/pad.  Test that we got sensible output by comparing against
a previous audibly good result.

This exercises auconv, audio and pad.
2010-08-04 13:15:15 +00:00
bouyer
f5a8179a2f Make sure to release sc_parent->dk_rawlock before calling
vn_close(sc->sc_parent->dk_rawvp). Avoids a lockdebug panic:
error: mutex_destroy: assertion failed: !MUTEX_OWNED(mtx->mtx_owner) && !MUTEX_HAS_WAITERS(mtx)
when the parent is a raidframe device.
See also:
http://mail-index.netbsd.org/tech-kern/2010/07/27/msg008612.html
2010-08-04 12:34:00 +00:00
jruoho
316bc64cb8 Rework the semantics in the reference. 2010-08-04 11:39:14 +00:00
hannken
bb874d13b8 Free the on disk inodes in the reclaim routine. 2010-08-04 10:43:53 +00:00
christos
8dbcf02c6b Import wpa_supplicant and hostapd 2010-08-04 10:17:50 +00:00
jruoho
d8b9e18823 Store the MADT-derived CPU ID to <x86/cpu.h>. This is required to properly
match the ACPI processor object ID with the ID available in the APIC table.
2010-08-04 10:02:11 +00:00
vanhu
4020e47561 fixed answer for IP4_SUBNET request 2010-08-04 09:16:58 +00:00
jruoho
da5cba2978 Improvements to wording, grammar, and markup. 2010-08-04 05:51:20 +00:00
pooka
fffcd29dff Attach component to make it work after defpseudodev conversion
(yea, i need to fix the infrastructure for this).
2010-08-03 19:55:17 +00:00
drochner
55e1e4c9f3 .PARSEDIR doesn't work. at least not for me. Use .CURDIR instead
which makes a build with objdir succeed.
2010-08-03 17:24:45 +00:00
jakllsch
30faf1fe35 Cast bus_addr_t to void * via uintptr_t to avoid
'cast to pointer from integer of different size' warnings.
Unbreaks i386 ALL kernel.

Oh, I'm sure I mentioned this before:
THIS DRIVER SHOULD NOT BE DOING THIS!
2010-08-03 14:06:10 +00:00
sborrill
e6b018f13d Add missing -h flag to example 2010-08-03 10:24:39 +00:00
jakllsch
0da82292a5 Use fewer magic constants related to the GCAP register. 2010-08-03 04:02:21 +00:00
jakllsch
bbc746ce72 Consistently use a single CRYPTO_SESID2HID-like macro.
Improve CRYPTO_DEBUG printing a bit:
 print pointers with %p
 print unsigned with %u rather than %d
 use CRYPTO_SESID2LID instead of just casting to uint32_t
2010-08-02 19:59:35 +00:00
joerg
162d6d7dbb Missing defined. 2010-08-02 17:49:04 +00:00
pooka
b71aa0468b +tp 2010-08-02 10:29:58 +00:00
pooka
a8c7d81755 test case for PR kern/43694 2010-08-02 10:29:48 +00:00
martin
f2db49e8b2 Add /libdata/firmware and /usr/lib/libintl* to install CDROMs with
root on iso9660; fixes PR install/43692 and install/43693.
2010-08-02 10:03:12 +00:00
pooka
1a22a69ce5 the old thread which does not return not returning a value
undetectable to all but the sh3 compiler trick
2010-08-02 09:44:23 +00:00
jmmv
eed27dd4f1 Move the TESTSBASE definition from bsd.test.mk to bsd.own.mk. Per joerg@'s
suggestion.
2010-08-02 07:08:26 +00:00
martin
d235e83c9d Remove old style firmware hooks for undistributable bootloader of Diehl
active ISDN cards.
2010-08-01 20:09:33 +00:00
msaitoh
45a4c8de5d Add the following cards' support from FreeBSD:
- Comtrol RocketPort 550/4, 550/8 and 550/16 series
 - Lava Computers Quatro-PCI
 - some NetMos NM9865 cards
 - VScom PCI-200Li
2010-08-01 18:50:24 +00:00
msaitoh
f5a49f6f0f regen. 2010-08-01 18:45:53 +00:00
msaitoh
cafe0a8f59 Add VScom PCI-200Li 2010-08-01 18:45:24 +00:00
jmmv
4eb2a32726 Note the conversion of the sort(1) tests to atf. 2010-08-01 16:45:12 +00:00
jmmv
948b8e0c56 The sort(1) tests have been moved to tests/util/sort/. 2010-08-01 16:44:31 +00:00
jmmv
87c1b2b984 Add files for sort(1) tests. 2010-08-01 16:43:57 +00:00
jmmv
e4c7b890ef Add directory for sort(1) tests. 2010-08-01 16:43:38 +00:00
jmmv
2597405114 Merge the sort tests from regress/ into the existing atfified sort tests.
While doing this put the sort tests into a separate directory to follow
the convention of tests/util/.
2010-08-01 16:42:58 +00:00
mlelstv
addf0d4b54 For sensors with inverted value (1/x function), exchange lower and upper
limits so that {warn,crit}min < curval < {warn,crit}max.
2010-08-01 15:42:19 +00:00
mlelstv
1898a7c316 Print the correct value for critmin of a fan sensor. 2010-08-01 15:39:52 +00:00
pooka
5656c31054 * apparently operations can also fail with EIO and EOPNOTSUPP while
mountd hup is in progress.  strange, since I can't remember seeing
  those a few days ago when i ran this quite a lot.  anyway, don't
  make those errnos fatal failures.
* also in the "apparently" sector, although this test fails 100%
  reliably on my development host, it does not always trigger in the
  anita run.  so apply the current "race condition test" idiom
2010-08-01 15:38:27 +00:00
mlelstv
5a5f088539 The erroneous error codes described in kern/43616 have been fixed. 2010-08-01 14:50:54 +00:00
tsutsui
15b7c57f37 Fix typo in pci_intr_disestablish(9) macro. 2010-08-01 12:42:45 +00:00
kiyohara
8f52632eee Add Marvell E1116R. 2010-08-01 09:54:12 +00:00
pooka
aec11d355a nfs now has tests in it, so need to convert from SUBDIR to
TESTS_SUBDIR.  Once again I failed to see that one coming.
2010-08-01 08:32:17 +00:00
mlelstv
e5aae12639 sc_cmd_mtx protects a command sequence, no longer abuse it for delays.
Initialize mutexes and condition variables in attach and not in the
asynchronously started kernel thread.

Increase BMC spin timeout from 5ms to 15ms, this is necessary to detect
the BMC in a HP ML110G4 reliably.

Implement non-linear sensors as defined in IPMIv2.0 with some crude
32.32 fixed point arithmetic. This adds some small errors as logarithm
and power functions are only approximated.

Fix sensor index mapping so that sensor limits are computed correctly.
2010-08-01 08:16:14 +00:00
kiyohara
06d4ca3757 Remove mvsata_pci_products's terminator(-1). Instead of it use __arraycount(). 2010-08-01 07:38:17 +00:00
kiyohara
a6ccc4563f Add attribute sysmon_envsys to device uthum. 2010-08-01 07:29:03 +00:00
kiyohara
c819f20a75 Support xserver. 2010-08-01 07:07:00 +00:00
kiyohara
049fc26168 Cleanup foo_match().
+ Remove check for model.
  + Remove unnecessary null line.
2010-08-01 06:57:06 +00:00
kiyohara
bb67784ce9 Cleanup mvuart_match(). 2010-08-01 06:47:16 +00:00