Commit Graph

1650 Commits

Author SHA1 Message Date
Poul-Henning Kamp
99d67eca50 A script for plucking packages and their runtime dependencies for
nanobsd images.
2009-04-19 18:23:23 +00:00
Sam Leffler
6f20ea67ac Cleanups to prepare this code for wider use (likely merged into hostapd):
o add (required) cmd line args to specify the set of ifnet's to monitor
  for WDS discovery msgs; "any" is a wildcard
o change the default script run on wds vap create to the "null script"
o auto-daemonize; add -f option to force foreground operation
o add -P option for integration with rc.d (implementation missing, tba)
o use syslog; default to log up to LOG_INFO, -t (terse) gives you up to
  LOG_ERR, and -v (verbose) gives you up to LOG_DEBUG
o scan for existing vaps on startup to recover existing state
o correct some types
2009-04-18 16:14:03 +00:00
Sam Leffler
7278fd42b9 allow NANO_CFGDIR to be overridden 2009-04-18 15:59:09 +00:00
Sam Leffler
7d47a9238b no more need for -p option to wlanwds; it knows how to find the parent now 2009-04-15 22:11:04 +00:00
Sam Leffler
3bf806397d o remove the -p option; use the %parent pointer sysctl to find the parent ifnet
o remove the -b option; users can just embed the bridge ifnet in the script
o add -j option to create wds vaps on join/rejoin ops
2009-04-15 22:10:33 +00:00
Sam Leffler
aff238b63c switch usb setup to usb2; it still doesn't work right but the
old stuff is now removed and we want this to build
2009-04-13 21:04:53 +00:00
Sam Leffler
adec18fe18 catch up with removal of ATH_SUPPORT_TDMA 2009-04-13 21:03:21 +00:00
Stefan Farfeleder
c410810eb7 Add a test for r191009. 2009-04-13 19:12:28 +00:00
Edward Tomasz Napierala
00a76e962d Add a few more regression tests for POSIX.1e ACLs. 2009-04-13 13:51:53 +00:00
David Schultz
6685ac34d9 Return -1 instead of 0 upon reaching EOF. This is somewhat ill-advised
because it means getdelim() returns -1 for both error and EOF, and
never returns 0. However, this is what the original GNU	implementation
does, and POSIX inherited the bug.

Reported by:	marcus@
2009-04-06 13:50:04 +00:00
Ed Schouten
d2a0bb0803 Remove if_ppp(4) and if_sl(4).
Not only did these two drivers depend on IFF_NEEDSGIANT, they were
broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been
replaced by ppp(8). There is no replacement for if_sl(4).

If we see regressions in for example the ports tree, we should just use
__FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are
present. Version 800045 is used to denote the import of MPSAFE TTY.

Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the
                lists.
2009-04-05 22:08:18 +00:00
Poul-Henning Kamp
9dbfbb879d Remember to clear the ports list before generation for prefetch 2009-04-05 20:59:26 +00:00
Stefan Farfeleder
acd5c42915 Test the r190298 change. 2009-03-22 23:00:52 +00:00
Stefan Farfeleder
8b1fa08c95 Add a few tests for the read built-in. 2009-03-22 22:14:46 +00:00
Stefan Farfeleder
d956d1eed5 Update test for r190284. 2009-03-22 21:12:00 +00:00
Stefan Farfeleder
2c93c8f251 Update and extend the tests for alias. 2009-03-22 17:22:14 +00:00
Poul-Henning Kamp
df55ca7278 Wrap a long line.
Save a copy of the CONFIGFILES before we spam them.
2009-03-21 19:09:33 +00:00
Andrew Thompson
2b78d30630 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
Pawel Jakub Dawidek
a71f46d368 Oops. Correct comment in the LICENSE file. 2009-03-14 21:59:12 +00:00
Pawel Jakub Dawidek
2f9e552de1 Regression tests for mac_portacl(4). 2009-03-14 21:54:19 +00:00
Roman Divacky
300d03a832 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 Leffler
70f9d0e70d add more register bit defs 2009-03-12 00:03:55 +00:00
Sam Leffler
111b13184f move shared register support code to common 2009-03-11 17:46:01 +00:00
Sam Leffler
f3307dca67 add athpoke, a tool to peek/poke registers 2009-03-11 17:41:46 +00:00
Sam Leffler
25860b612f add athdecode, an app to decode register logs 2009-03-11 17:15:33 +00:00
Sam Leffler
d5fa3141db add %b format strings for use by athdecode 2009-03-11 17:14:17 +00:00
Robert Watson
b860cb2652 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
Robert Watson
76b6a59f9d 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
Robert Watson
0ca4746bcb 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
Pyun YongHyeon
8afdb6983e 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 Leffler
5f6a680157 add -b option to suppress the banner 2009-03-02 05:07:05 +00:00
David Schultz
7fb2aa104f Tests for getdelim(). 2009-02-28 06:39:39 +00:00
David Schultz
e2ef8d9b1d 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
David Schultz
f04a5a6c81 Tests for wcscasecmp(), wcsnlen(), and stpncpy(). 2009-02-28 06:34:04 +00:00
Sam Leffler
f5f5ccc004 really enable usb1 2009-02-27 19:26:23 +00:00
Sam Leffler
64881623dc 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 Leffler
ec38a2fd9b o add -HEAD to avoid build conflicts
o switch to a more common flash config
2009-02-27 19:21:35 +00:00
Sam Leffler
42c5bd65c5 add -HEAD to avoid build conflicts 2009-02-27 19:20:57 +00:00
Sam Leffler
785516a05c fix build 2009-02-27 05:22:11 +00:00
Sam Leffler
31c7a65f37 fix build 2009-02-27 05:22:00 +00:00
Ed Schouten
b3aaa0cc21 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 Leffler
6da11d4422 use mii instead of miibus to not pull in useless phy code 2009-02-26 19:47:11 +00:00
Sam Leffler
6b043cc7d3 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 Leffler
98621d508c add more gpio registers 2009-02-26 06:16:15 +00:00
Pawel Jakub Dawidek
af30ab766e 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
Michael Reifenberger
d9d641af77 Delete files which serve no purpose in this environment.
Inspired by: simon@
2009-02-20 14:53:49 +00:00
Mike Makonnen
3d919b7521 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 Leffler
7077d84d7b revamp after 1/2 and 1/4 rate changes 2009-02-19 05:36:07 +00:00
Sam Leffler
dd8d00f53c 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 Leffler
41e449db4a add stats no frags and missing stat for no dma buffers 2009-02-13 05:44:18 +00:00