Commit Graph

3866 Commits

Author SHA1 Message Date
adrian
3efb98df09 [wlanstats] Convert rssi / signal / rate to use float.
* Convert rssi/signal/rate to be a single digit precision float
* rssi is actually in 1/2 dBm units, so divide it by 2
2016-04-06 03:22:39 +00:00
adrian
d5adc6aa91 [net80211] Add an A-MSDU debug output shortcut. 2016-04-04 22:10:52 +00:00
glebius
3c00d9092b Add early_customize_cmd() that allows to register custom functions run
before the build stage.

Reviewed by:	imp
Obtained from:	Netflix
2016-04-04 21:06:44 +00:00
adrian
b1a0725ae4 [net80211] teach wlanstats about the ff_encapfail field.
Without this it just displays a blank, short column which is just
plainly not useful.
2016-04-04 20:33:16 +00:00
bdrewery
ca9bfffeeb Remove FAST_DEPEND reference missed in r297434. 2016-03-30 23:53:12 +00:00
bdrewery
59f4cb814d Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.
Reviewed by:	emaste, hselasky (partial), brooks (brief)
Discussed on:	arch@
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D5742
2016-03-30 23:50:23 +00:00
emaste
c056e666c8 Remove tools/vt/setfont
It is included in vidcontrol as of r266836.

Sponsored by:	The FreeBSD Foundation
2016-03-21 20:51:35 +00:00
phk
43915d0b49 Unquote NANO_PACKAGE_LIST so that it actually can be a list and so
that the default value of "*" works.
2016-03-21 08:30:58 +00:00
imp
96cf53da35 Just install ar5523.bin into /usr/share/firmware and stop compiling it
in.

Differential Review: https://reviews.freebsd.org/D5639
2016-03-15 04:42:37 +00:00
bdrewery
55158da34a Add a WITHOUT_FAST_DEPEND 2016-03-11 17:00:42 +00:00
bdrewery
efc97b3f14 Remove these broken filemon tests.
They were not very useful in their current state.  It only ran a fork bomb,
confirmed headers/footers matched, hard-coded the number of expected entries
(rather than ensuring each entry is present when expected), and was missing a
sizeof_long.c file from r251368 which makes its intent for testing 32-bit
binaries unclear.

More extensive tests should be written with ATF now.
2016-03-09 20:15:03 +00:00
np
eeb2a9e4d2 cxgbe(4): Overhaul the shared code that deals with the chip's TP block,
which is responsible for filtering and RSS.

Add the ability to use filters that match on PF/VF (aka "VNIC id") while
here.  This is mutually exclusive with filtering on outer VLAN tag with
Q-in-Q.

Sponsored by:	Chelsio Communications
2016-03-08 02:04:05 +00:00
np
503abbeeca cxgbe(4): Updated register dumps.
- Get the list of registers to read during a regdump from the shared
  code instead of the OS specific code.  This follows a similar move
  internally.  The shared code includes the list for T6.

- Update cxgbetool to be able to decode T5 VF, T6, and T6 VF register
  dumps (and catch up with some updates to T4 and T5 register decode).

Obtained from:	Chelsio Communications
Sponsored by:	Chelsio Communications
2016-03-07 21:11:35 +00:00
imp
27ef49ce39 Don't install debug symbols onto embedded images... 2016-03-07 18:32:12 +00:00
dim
9ac7ec8827 Merge ^/head r296007 through r296368. 2016-03-03 23:15:46 +00:00
trasz
fa1857f115 Fix section numbers for autofs(5), kbdcontrol(1), vidcontrol(1), quota(1),
and telnet(1) in the right place.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2016-03-01 11:36:10 +00:00
np
f0bc9a635e Fix some whitespace nits in cxgbetool.c. No functional change. 2016-02-29 21:04:06 +00:00
emaste
6947c7d029 Document that WITHOUT_ELFCOPY_AS_OBJCOPY will be removed
In case ELF Tool Chain's elfcopy introduces any regressions this knob is
available as a transition aid. It will be removed once we are confident
that any regressions have been fixed.
2016-02-29 16:39:38 +00:00
adrian
52c3e879a6 Migrate athregs over to use the new stats API. 2016-02-28 06:30:39 +00:00
adrian
48d73dc738 Migrate athstats to use the new stats API. 2016-02-28 06:29:25 +00:00
adrian
a351ccac7b Begin abstracting out the access method for ath(4) ioctls.
Each of the ath* commands do their own direct socket/ioctl calls,
which makes it difficult to forklift upgrade things.

So, this is the beginning of abstracting out the stats API calls
in the hope that I can migrate things to use a /dev/athX file for
ioctls and use a more general interface.

Tested:

* QCA9565 NIC, STA mode
2016-02-28 06:29:07 +00:00
oshogbo
023f14d65b Convert casperd(8) daemon to the libcasper.
After calling the cap_init(3) function Casper will fork from it's original
process, using pdfork(2). Forking from a process has a lot of advantages:
1. We have the same cwd as the original process.
2. The same uid, gid and groups.
3. The same MAC labels.
4. The same descriptor table.
5. The same routing table.
6. The same umask.
7. The same cpuset(1).
From now services are also in form of libraries.
We also removed libcapsicum at all and converts existing program using Casper
to new architecture.

Discussed with:		pjd, jonathan, ed, drysdale@google.com, emaste
Partially reviewed by:	drysdale@google.com, bdrewery
Approved by:		pjd (mentor)
Differential Revision:	https://reviews.freebsd.org/D4277
2016-02-25 18:23:40 +00:00
dim
7ef26dcde6 Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
bdrewery
2a891f1feb DIRDEPS_BUILD: Regenerate without local dependencies.
These are no longer needed after the recent 'beforebuild: depend' changes
and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports
skipping 'make depend'.

Sponsored by:	EMC / Isilon Storage Division
2016-02-24 17:20:11 +00:00
bdrewery
1f44f0aab0 Convert to LIBADD.
Sponsored by:	EMC / Isilon Storage Division
2016-02-24 17:18:52 +00:00
dim
2e1a0cbbd8 Merge ^/head r295601 through r295844. 2016-02-21 13:49:26 +00:00
emaste
835428466e Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain 2016-02-19 15:11:54 +00:00
dim
afa214d26d Merge ^/head r295351 through r295543. 2016-02-11 20:07:09 +00:00
des
3e7322496a Remove unbound-contrl-setup since we use a local control socket which
does not require keys.

MFC after:	3 days
Relnotes:	yes
2016-02-11 17:33:55 +00:00
emaste
9f5beacde1 Add WITH_GDB src.conf(5) description 2016-02-11 00:30:51 +00:00
emaste
4e0e9ef378 Add missing src.conf(5) descriptions for tool chain components
Sponsored by:	The FreeBSD Foundation
2016-02-11 00:14:00 +00:00
emaste
6ccca77a16 Update list of binutils controlled by WITHOUT_BINUTILS_BOOTSTRAP
Tools removed from the list are now provided by the ELF Tool Chain
project and are not controlled by the WITHOUT_BINUTILS_BOOTSTRAP knob.

Sponsored by:	The FreeBSD Foundation
2016-02-10 23:57:09 +00:00
andrew
aafce0e87d Correct the year, it's 2016. 2016-02-09 10:06:06 +00:00
andrew
314e36ecdb Add an ARMv7 config file to build nanobsd images for the qemu virt
platform.

Sponsored by:	ABT Systems Ltd
2016-02-09 09:57:50 +00:00
adrian
beb14a6c39 Add a format string to the err() calls. 2016-02-08 02:11:34 +00:00
imp
0935e66dd9 Make sure NANO_DISKIMGDIR exists. 2016-02-07 23:20:44 +00:00
jilles
b2791f185c semget(): Check for [EEXIST] error first.
Although POSIX literally permits failing with [EINVAL] if IPC_CREAT and
IPC_EXCL were both passed, the semaphore set already exists and has fewer
semaphores than nsems, this does not allow an application to retry safely:
if the [EINVAL] is actually because of the semmsl limit, an infinite loop
would result.

PR:		206927
2016-02-07 22:12:39 +00:00
imp
3c1575b135 Use new NANO_LOG to put the logs some place reasonable. Also, share
the object directory among all builds where it makes sense. When
building with NANO_CPUTYPE, separate that out to its own object
directory. Put disk files in their own directories.

This should make having multiple variants of the same architecture
saner.
2016-02-07 16:44:13 +00:00
imp
0b1b9fdab4 Use NANO_LOG instead of NANO_OBJ for log file locations. Have it
default to NANO_OBJ.
2016-02-07 16:44:06 +00:00
imp
77e64f60df Add simple config for i386 BIOS boot. 2016-02-07 16:44:04 +00:00
imp
569810426d Various fixups:
o Make sure we create bsd label for MBR scheme (though we don't
  really need it for the efi case, and boot1 can't read it). Add
  notes about why we have to do this, at least for BIOS.
o Make the BIOS / UEFI with gpt config work.
o Remove now-moribund packaging stuff
2016-02-07 16:43:55 +00:00
adrian
370e6e3164 Remove the hard-coded 'ath0' strings and use ATH_DEFAULT.
Remove the duplicate ATH_DEFAULT fields.  The build bits should be including
../Makefile.inc as appropriate.
2016-02-07 04:28:03 +00:00
dim
0abf59f0ae Merge ^/head r294961 through r295350. 2016-02-06 14:07:17 +00:00
imp
3dd69c60f3 Preliminary EFI support. Based, in part, on patches from Andy Turner.
Add support for being able to boot off both UEFI and BIOS firmware,
ala the memstick trick.

Add support for writing to GPT volumes.

Move away from using bsd labels at all for these embedded stuff.

Minor tweaks to README.
2016-01-30 07:00:36 +00:00
imp
d9339d6f6d Two new variables: NANO_ROOT and NANO_ALTROOT. These used to be
spelled ${NANO_SLICE_ROOT}a and ${NANO_SLICE_ALTROOT}a respectively,
and that's the default value. This will allow nanobsd on systems
without a bsd label. That's rarely needed these days, even in an MBR
world. The default will shift to this in the future, but remain an
option.
2016-01-30 07:00:29 +00:00
imp
e10582eae6 Two new config files. One that has UEFI booting, and the other that
can do both UEFI and BIOS/GPT booting. Support for nanobsd coming
soon.

Based in part in a patch from: andrew@
2016-01-30 07:00:28 +00:00
dim
aef1771e36 Merge ^/head r294777 through r294960. 2016-01-27 22:52:20 +00:00
imp
1def741dc2 Default NANO_DRIVE to ada0 not ad0. This shouldn't affect working
configs (since they'd have to change NANO_DRIVE to be ada0 to work),
but will fix old ones that used to work.

MFC After: 1 week
2016-01-26 18:39:31 +00:00
dim
e94fcba083 Merge ^/head r294599 through r294776. 2016-01-26 07:49:11 +00:00
imp
3715af248f Fix the various qemu configs to be buildable. 2016-01-26 07:22:22 +00:00