Commit Graph

1641 Commits

Author SHA1 Message Date
stefanf
79a3bf3a75 Add a few tests for the read built-in. 2009-03-22 22:14:46 +00:00
stefanf
39c3581548 Update test for r190284. 2009-03-22 21:12:00 +00:00
stefanf
62671f061c Update and extend the tests for alias. 2009-03-22 17:22:14 +00:00
phk
30b31b3e4e Wrap a long line.
Save a copy of the CONFIGFILES before we spam them.
2009-03-21 19:09:33 +00:00
thompsa
11f8f68779 Remove the uscanner(4) driver, this follows the removal of the kernel scanner
driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and
contained no logic, the default interface is now libusb (supported by sane).

Reviewed by:	HPS
2009-03-19 20:33:26 +00:00
pjd
8e6c20cc53 Oops. Correct comment in the LICENSE file. 2009-03-14 21:59:12 +00:00
pjd
7b829d245e Regression tests for mac_portacl(4). 2009-03-14 21:54:19 +00:00
rdivacky
4cd01fc223 Switch over to gnu99 compilation on default for userland.
Tested by:	make universe
Tested by:	ports exp build (done by pav)
Reviewed by:	ru
Reviewed by:	silence on arch
Approved by:	ed (mentor)
2009-03-14 17:55:16 +00:00
sam
5b6ba969de add more register bit defs 2009-03-12 00:03:55 +00:00
sam
8f0aa78773 move shared register support code to common 2009-03-11 17:46:01 +00:00
sam
79e7717a17 add athpoke, a tool to peek/poke registers 2009-03-11 17:41:46 +00:00
sam
8578008810 add athdecode, an app to decode register logs 2009-03-11 17:15:33 +00:00
sam
3de66ba488 add %b format strings for use by athdecode 2009-03-11 17:14:17 +00:00
rwatson
3a33392c2f Add tcpp -- TCP parallelism microbenchmark.
This tool creates large numbers of TCP connections, each of which will
transmit a fixed amount of data, between client and server hosts.  tcpp can
use multiple workers (typically up to the number of hardware cores), and can
use multiple source IPs in order to use an expanded port/IP 4-tuple space to
avoid problems from reusing 4-tuples too quickly.  Aggregate bandwidth use
will be reported after a client run.

While by no means a perfect tool, it has proven quite useful in generating
and optimizing TCP stack lock contention by easily generating high-intensity
workloads.  It also proves surprisingly good at finding device driver bugs.
2009-03-10 14:52:17 +00:00
rwatson
c6d1d7c2f1 Rename files that collide on case-insensitive file systems by encoding
colliding upper case letters as the lower case letter with a '_' in
front.

MFC after:	3 days
Discussed with:	ed
Spotted by:	Michael David Crawford <mdc at prgmr.com>
2009-03-10 09:33:22 +00:00
rwatson
ea13322a87 In UNIX domain socket GC regression test, after setting a socket
non-blocking, EINPROGRESS is an acceptable result from connect().
2009-03-08 21:06:02 +00:00
yongari
9747210a94 Make ifinfo build. The struct if_data members ifi_recvquota and
ifi_xmitquota were renamed to ifi_spare_char1 and ifi_spare_char2
respectively.
2009-03-04 01:31:09 +00:00
sam
2719e794c0 add -b option to suppress the banner 2009-03-02 05:07:05 +00:00
das
b2ec174608 Tests for getdelim(). 2009-02-28 06:39:39 +00:00
das
d6c4fb135e Add a file containing tests for simple format specifiers.
Currently it only has tests for a few sign issues with integer
formats, including PR 131880.
2009-02-28 06:37:10 +00:00
das
efea0f4e75 Tests for wcscasecmp(), wcsnlen(), and stpncpy(). 2009-02-28 06:34:04 +00:00
sam
44622ab7e9 really enable usb1 2009-02-27 19:26:23 +00:00
sam
8499a8b51c o enable PREEMPTION
o turn off a bunch of stuff that's unlikely to be used
o add flash support
o use mii instead of miibus to save space
o enable tdma support
o configure legacy usb as usb2 works only on 2348 w/ 64M configs
2009-02-27 19:23:55 +00:00
sam
f6a89b7745 o add -HEAD to avoid build conflicts
o switch to a more common flash config
2009-02-27 19:21:35 +00:00
sam
1d7238f9d6 add -HEAD to avoid build conflicts 2009-02-27 19:20:57 +00:00
sam
56525f0f8e fix build 2009-02-27 05:22:11 +00:00
sam
7c633e78c6 fix build 2009-02-27 05:22:00 +00:00
ed
fa4082de19 Rename all symbols in libmp(3) to mp_*, just like Solaris.
The function pow() in libmp(3) clashes with pow(3) in libm. We could
rename this single function, but we can just take the same approach as
the Solaris folks did, which is to prefix all function names with mp_.

libmp(3) isn't really popular nowadays. I suspect not a single
application in ports depends on it. There's still a chance, so I've
increased the SHLIB_MAJOR and __FreeBSD_version.

Reviewed by:	deischen, rdivacky
2009-02-26 21:43:15 +00:00
sam
5c62a293bb use mii instead of miibus to not pull in useless phy code 2009-02-26 19:47:11 +00:00
sam
8fe376f424 add updatep[12] that grok the partitioning we use and use gpart
instead of boot0cfg to switch the active partition
2009-02-26 19:44:52 +00:00
sam
53dcaae80d add more gpio registers 2009-02-26 06:16:15 +00:00
pjd
06d3dd6736 Add explicit casting in few places.
It is only really necessary for open(2)'s third argument, which is optional and
obtained through stdarg(3). open(2)'s third argument is 32bit and we pass 64
bits. On little endian it works, because we take lower 32 bits, but on big
endian platforms we take upper 32 bits, so we end up with 0.

Reported by:	Milan Čermák <Milan.Cermak@Sun.COM>
2009-02-23 07:33:29 +00:00
mr
c271f8f194 Delete files which serve no purpose in this environment.
Inspired by: simon@
2009-02-20 14:53:49 +00:00
mtm
1de5dbac2f Doh! r188813 modified an auto-generated file. Fix it for real:
o grammar fix
  o remove mention of libkse

Submitted by:	Niclas Zeising <niclas.zeising@gmail.com>
2009-02-20 11:09:55 +00:00
sam
facbd7451d revamp after 1/2 and 1/4 rate changes 2009-02-19 05:36:07 +00:00
sam
f0b2ccddbf add -z option to zero driver statistics (but note we don't yet zero
stats obtained from the hal)
2009-02-13 05:45:23 +00:00
sam
6a08d93705 add stats no frags and missing stat for no dma buffers 2009-02-13 05:44:18 +00:00
sam
07d2dfe72c backout r188327, it broke summary printing 2009-02-13 05:42:25 +00:00
rwatson
67e0c1a750 Add a regresion test to determine whether or not a file descriptor is
allocated in a fork(2)-inheritable way at the beginning or end of an
accept(2) system call.  This test creates a test thread and blocks it
in accept(2), then forks a child process which tests to see if the
next available file descriptor is defined or not (EBADF vs EINVAL for
ftruncate(2)).

This detects a regression introduced during the network stack locking
work, in which a very narrow race during which fork(2) from one
thread during accept(2) in a second thread lead to an extra inherited
file descriptor turned into a very wide race ensuring that a
descriptor was leaked into the child even though it hadn't been
returned.

PR:		kern/130348
2009-02-11 13:44:27 +00:00
mr
e1484b460d Add files to build i386/amd64 bootable rescue ISO images using the
nanobsd framework.
2009-02-11 12:15:35 +00:00
sam
9e30deb858 o use humanize_number to print totals
o shrink some fields now that we don't have to worry about overflow
2009-02-08 20:02:58 +00:00
sam
49edf8abc4 for adhoc and ahdemo modes try to find the "bss node": use the bssid
unless it's not setup or zero's; this may not work as the bssid of
the ibss isn't certain to the "right mac address" but for many cases
it is
2009-02-05 23:15:39 +00:00
sam
d9be247f47 make -o handling like athstats 2009-02-05 22:17:10 +00:00
sam
27217791ed unbreak -o 2009-02-05 22:16:09 +00:00
sam
2187c7fab7 add new stats and missing tx_raw stat 2009-02-05 21:09:46 +00:00
sam
c1fbfec8ba o fix identification of ahdemo mode
o split out code to get the bssid for use in the future
o include more information in error diags when unable to collect sta info/stats
2009-02-05 20:39:53 +00:00
sam
75271fb340 add cfi test tool
Sponsored by:	Carlson Wireless
Reviewed by:	imp, Chris Andreson
2009-02-05 18:15:20 +00:00
phk
d867a6f1d4 Get the right system makefiles for make distribution. 2009-02-04 18:14:30 +00:00
das
ea7687b30b Test wprintf() in addition to printf(). 2009-01-31 18:32:39 +00:00
das
7003291a2c Add tests for conj{,f,l}() that I wrote some time ago. These test the
versions in libm, not the gcc builtins.
2009-01-31 18:31:57 +00:00