Commit Graph

2646 Commits

Author SHA1 Message Date
adrian
5e172688c7 Make this a flag. 2012-11-17 02:38:36 +00:00
adrian
be4e4a5c0f Implement AR5210 descriptor decoding. 2012-11-17 02:37:25 +00:00
adrian
3865e7424a Add AR5211 descriptor decoding support. 2012-11-17 02:14:50 +00:00
adrian
f4a353a947 Add AR5212 frame decoding support. 2012-11-17 01:57:45 +00:00
adrian
c070d0185a Implement a basic data decoder for the data produced by if_ath_alq.
This decodes the AR5416 family 11n TX and RX descriptors.
2012-11-17 01:11:00 +00:00
marcel
a8f2df570f Don't install atf.test.mk if MK_ATF == no.
Submitted by:	Garrett Cooper <yanegomi@gmail.com>
2012-11-15 04:39:23 +00:00
jilles
5acb236703 sh: Add tests for modifying an alias (r242766).
Note: parser/alias10.0 will eat a lot of memory/cpu time when it fails (with
the old sh).
2012-11-08 13:36:19 +00:00
jilles
5e3407ce46 sh: Test that a redefined alias works. 2012-11-07 23:15:36 +00:00
brooks
41399856f6 Add a description of WITHOUT_CLANG_IS_CC. 2012-11-05 21:53:23 +00:00
obrien
bdeb3f5a20 Test both active and non-active cases. 2012-10-26 20:14:40 +00:00
obrien
f3ec0567c4 Iterate rather than use recursion. We can blow out the kernel stack if there
is a long chain of fork(2)s.
2012-10-26 15:44:29 +00:00
eadler
3f7a414911 remove duplicate semicolons where possible.
Approved by:	cperciva
MFC after:	1 week
2012-10-22 03:00:37 +00:00
eadler
b08b5fd4fa Covert regression test to python 3
Approved by:	cperciva
MFC after:	3 days
2012-10-22 02:29:44 +00:00
eadler
90e13cd2eb Finish migration of MAINTAINER entries
Approved by:	cperciva
MFC after:	3 days
2012-10-22 02:12:11 +00:00
eadler
fb692da397 Covert to python 3
Approved by:	cperciva
MFC after:	3 days
2012-10-22 02:12:02 +00:00
marcel
8412efbea8 Add ATF to the build. This is may be a bit rought around the egdes,
but committing it helps to get everyone on the same page and makes
sure we make progress.

Tinderbox breakages that are the result of this commit are entirely
the committer's fault -- in other words: buildworld testing on amd64
only.

Credits follow:

Submitted by:	Garrett Cooper <yanegomi@gmail.com>
Sponsored by:	Isilon Systems
Based on work by:	keramida@
Thanks to:	gnn@, mdf@, mlaier@, sjg@
Special thanks to:	keramida@
2012-10-22 01:18:41 +00:00
andreast
75529c7de3 Remove the netncp and nwfs files from here. They will be moved to the
ObsoleteFiles.inc file later.

Discussed with: attilio
2012-10-17 19:21:52 +00:00
gabor
7595cc54ef - Remove GNU sort and the WITH_GNU_SORT knob 2012-10-13 18:40:39 +00:00
emaste
f0db6be72a Make local function static. 2012-10-11 21:24:07 +00:00
np
d69f5fddc1 Add a "clearstats" subcommand to cxgbetool that lets you clear the
MAC statistics for any port.

For example:
# cxgbetool t4nex0 clearstats 0

Submitted by:	gnn@
MFC after:	3 days
2012-10-10 20:09:19 +00:00
np
6764c20438 Add an "i2c" subcommand to cxgbetool. You can use this to read
information from the transceivers connected to the ports of a
cxgbe(4) based card.

# cxgbetool t4nex0 i2c <port_id> <dev_addr> <addr> [<count>]

For example:
# cxgbetool t4nex0 i2c 0 0xa0 3
0x10 [16]

(As per SFF-8472 the SFP+ module is at 0xa0 and bit 4 in the value at
address 3 indicates it's a 10Gbase-SR module, which it is.)
2012-10-10 17:29:51 +00:00
kevlo
ceb08698f2 Revert previous commit...
Pointyhat to:	kevlo (myself)
2012-10-10 08:36:38 +00:00
kevlo
8747a46991 Prefer NULL over 0 for pointers 2012-10-09 08:27:40 +00:00
marcel
52e7fd7c54 Add support for bmake. This includes:
1.  Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE,
    there's a bootstrap complication in ths respect. Avoid it. Make the
    necessary changes to have upgrade_checks work wth bmake anyway.
2.  Remove the use of -E. It's not needed in our build because we use ?= for
    the respective variables, which means that we'll take the environment
    value (if any) anyway.
3.  Properly declare phony targets as phony as bmake is a lot smarter (and
    thus agressive) about build avoidance.
4.  Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot
    smarter about build avoidance and should not find files we generate in
    the source tree. We should not have files in the repository we want to
    generate, but this is an easier way to cross this hurdle.
5.  Have behavior under bmake the same as it is under make with respect to
    halting when sub-commands fail. Add "set -e" to compound commands so
    that bmake is informed when sub-commands fail.
6.  Make sure crunchgen uses the same make as the rest of the build. This
    is important when the make utility isn't called make (but bmake for
    example).
7.  While here, add support for using MAKEOBJDIR to set the object tree
    location. It's the second alternative bmake looks for when determining
    the actual object directory (= .OBJDIR).

Submitted by:	Simon Gerraty <sjg@juniper.net>
Submitted by:	John Van Horne <jvanhorne@juniper.net>
2012-10-06 20:01:05 +00:00
marcel
bd137de2db Add bmake to the build and allow it to be installed as make(1) instead
of FreeBSD's make by setting WITH_BMAKE.  The WITH_BMAKE build makes it
easy for people to switch while working out the kinks -- think ports
tree here.  The option will be removed in due time.

Submitted by:	Simon Gerraty (sjg@juniper.net)
2012-10-06 19:19:21 +00:00
emaste
3caceded2a Clean up compiler warnings.
More work is needed here but this now builds with WARNS=6.

Sponsored by: ADARA Networks
MFC after: 2 weeks
2012-10-03 22:02:16 +00:00
emaste
db806db21d Add regression test for kern/172075.
Sponsored by:	ADARA Networks
PR:		kern/172075
2012-09-26 00:25:09 +00:00
jilles
c0470c839d sh: Add some tests for aliasing a utility to itself. 2012-09-22 12:52:41 +00:00
zeising
ebc127bf11 Add documentation for the WITHOUT_KDUMP switch.
This swtich was introduced in r240404

Approved by:	joel (mentor)
2012-09-19 11:38:37 +00:00
eadler
8600cbb5b6 Correct double "the the"
Approved by:	cperciva
MFC after:	3 days
2012-09-14 21:28:56 +00:00
eadler
777230d53d Remove scripts and tools which only functioned when src was using CVS
Approved by:	cperciva
MFC after:	1 week
2012-09-13 17:49:11 +00:00
obrien
7b9a39e571 r235638 is not the clean way to add support for building on ancient FreeBSD
versions.  Instead use Imp's good work on "legacy" and follow the outcome
of the previous TRB discussions on this topic.

Now use the libc getline() if it exists, and only where it doesn't
create a bootstraping version.
2012-09-11 22:38:33 +00:00
fabient
886e70314c Add SOFT as a possible section to exclude from counter list. 2012-09-10 16:32:28 +00:00
adrian
dc0b46fdc3 Add some colour to make it easy (well, easier) to see what the current
selected rates and current sample rates are.

(Note: when run under high traffic and with -s 0.1 the display becomes very
mesmerising.  You've been warned.)
2012-09-10 06:07:28 +00:00
adrian
7f13a2e391 Add a '-s <timeout>' option which will display live rate control
statistics.
2012-09-08 01:14:13 +00:00
adrian
652b16f79f Tidy up the output quite substantially, making it fit well within
80 columns.

This makes it much easier to use in a shell script, to display a "top"
style output with live rate control data.
2012-09-07 06:02:40 +00:00
adrian
ec006196aa Make this build again! 2012-09-07 06:02:01 +00:00
emaste
78d26d09cb Failure to open netmap device is unrecoverable.
There's no reason to "fail later" since there's nothing this tool can do in
netmap mode without /dev/netmap open.
2012-09-04 20:51:25 +00:00
gnn
618d9246d7 Add a reasonable error message telling the caller to specify a program
to be executed under hwpmc.  If there is no program to run then
exit.
2012-09-04 20:14:37 +00:00
joel
d666707f2a Minor mdoc fix. 2012-09-01 07:11:25 +00:00
des
7bb834a124 The error syntax has changed. 2012-08-30 22:56:32 +00:00
adrian
714dc451ce Do a bunch of fixing and refactoring.
Fix up gzip to crunch right.

Add kenv, although I'm not yet sure why it isn't working on my MIPS
boards (reading kenv always returns blank.)
2012-08-29 22:55:50 +00:00
adrian
41ab51583c Disable fsck_ffs for now, 4MB target size issues. 2012-08-29 22:54:39 +00:00
adrian
7dbe059b5b Disable building textproc for now, it doesn't fit on my 4MB flash
partition.

Add -lcrypt as a dynamic target.
2012-08-29 22:54:27 +00:00
adrian
4a4898787c For now, disable building wpa_supplicant.
My 4MB flash builds can't handle the bloat.
2012-08-29 22:53:54 +00:00
dim
a4812d49a1 Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.
MFC after:	1 week
2012-08-26 14:30:14 +00:00
dim
ddcb543796 Add three additional clang intrinsics headers, which I missed in the
previous import.
2012-08-20 20:56:40 +00:00
dim
ea718b0e08 Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.
2012-08-20 18:33:03 +00:00
dim
554bcb69c2 Vendor import of clang trunk r161861:
http://llvm.org/svn/llvm-project/cfe/trunk@161861
2012-08-15 20:02:54 +00:00
dim
721c201bd5 Vendor import of llvm trunk r161861:
http://llvm.org/svn/llvm-project/llvm/trunk@161861
2012-08-15 19:34:23 +00:00