Andrew Rybchenko
3222b9de29
sfxge(4): cleanup: improve prefast annotations
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:43:11 +00:00
Andrew Rybchenko
1f4bb1bd2a
sfxge(4): fix defined-but-not-used warning if neither VPD nor NVRAM opt enabled
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:28:16 +00:00
Andrew Rybchenko
56ec54c70f
sfxge(4): cleanup: add missing spaces
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:25:17 +00:00
Andrew Rybchenko
98a9ac91f0
sfxge(4): cleanup: avoid unspecified unsigned
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:19:54 +00:00
Andrew Rybchenko
60cf15c592
sfxge(4): enclose macro complex value in parenthesis
...
Found by DPDK checkpatches.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:11:15 +00:00
Andrew Rybchenko
09b3e655d5
sfxge(4): make strings array pointer itself immutable
...
Found by DPDK checkpatches.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:09:45 +00:00
Andrew Rybchenko
a260bd77cf
sfxge(4): cleanup: add const qualifier to const array pointer
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:07:34 +00:00
Andrew Rybchenko
69621b26c0
sfxge(4): cleanup: avoid spaces before TAB
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:04:36 +00:00
Andrew Rybchenko
b99afef3b3
sfxge(4): cleanup: avoid space just before TAB in efx_types.h
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:03:06 +00:00
Andrew Rybchenko
01a6119ccf
sfxge(4): cleanup: use TAB to indent
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:01:01 +00:00
Andrew Rybchenko
6b3fab1a53
sfxge(4): cleanup: add missing space between type and pointer symbol
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:53:53 +00:00
Andrew Rybchenko
bf42516d2c
sfxge(4): cleanup: open brace should be on a type name line
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:52:04 +00:00
Andrew Rybchenko
5e9a2dc5d6
sfxge(4): cleanup: remove trailing whitespaces
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:49:41 +00:00
Andrew Rybchenko
fe497b15a1
sfxge(4): cleanup: pointer symbol should go together with struct member name
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:48:15 +00:00
Andrew Rybchenko
75b16fa082
sfxge(4): cleanup: avoid C99 // comments
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:47:04 +00:00
Andrew Rybchenko
1e57660f86
sfxge(4): cleanup: remove unnecessary spaces
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:45:14 +00:00
Andrew Rybchenko
2910c2465f
sfxge(4): cleanup: use spaces around binary arithmetic operations
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:44:03 +00:00
Andrew Rybchenko
6d4e783ecb
sfxge(4): cleanup: fix wrong indent
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:43:04 +00:00
Andrew Rybchenko
85365dfcbf
sfxge(4): cleanup: remove trailing whitespace
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:40:21 +00:00
Andrew Rybchenko
62b5fe03b9
sfxge(4): cleanup: fix typo in siena_mac_loopback_set() instrumentation
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:39:11 +00:00
Andriy Voskoboinyk
fdf6944b35
rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.
...
While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc
2016-12-28 09:32:02 +00:00
Enji Cooper
c3f095c6da
Fix the build by moving the initializers for len/nswapdev down below the
...
declarations
MFC after: 3 days
Pointyhat to: ngie
2016-12-28 08:11:41 +00:00
Michal Meloun
4642c8c5ea
Limit number of stripes supported by HDA codec to maximum number
...
announced by HDA controller.
Incorrectly implermented HDA codec may report support for more stripes
that HDA controller already have. Due to this, always limit number of
enabled stripes by global controller maximum.
Reviewed by: mav
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D8922
2016-12-28 07:37:26 +00:00
Enji Cooper
c5cf639fd9
style(9): clean up whitespace
...
MFC after: 3 days
2016-12-28 06:10:58 +00:00
Enji Cooper
2229fa01bc
style(9) fixes: clean up leading whitespace
...
MFC after: 3 days
2016-12-28 05:43:14 +00:00
Enji Cooper
6ebc234490
style(9) fixes: clean up leading whitespace
...
MFC after: 3 days
2016-12-28 05:42:41 +00:00
Enji Cooper
c4648c7562
style(9) fixes
...
- Clean up trailing whitespace
- Fix variable type alignment in storage_OS_get_swap(..)
MFC after: 3 days
2016-12-28 05:41:53 +00:00
Enji Cooper
4568bf74f4
Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no
...
MFC after: 1 week
2016-12-28 05:21:22 +00:00
Enji Cooper
38bf4fd787
Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no
...
MFC after: 1 week
2016-12-28 05:16:41 +00:00
Enji Cooper
b3972edb64
style(9): ip_get(..): clean up whitespace
...
MFC after: 3 days
2016-12-28 05:05:08 +00:00
Enji Cooper
700d391fb8
style(9): snmp_send_packet(..): fix whitespace
...
MFC after: 3 days
2016-12-28 04:56:15 +00:00
Ed Maste
62652acf3a
loader: use strip -o instead of cp and strip in place
...
It is simpler and cleaner to have strip produce the stripped output
directly than copying the input to the output first.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2016-12-28 04:55:43 +00:00
Enji Cooper
bc54857ed0
style(9): fix whitespace in pdu_encode_secparams(..)
...
MFC after: 3 days
2016-12-28 04:53:52 +00:00
Sepherosa Ziehau
f1b0a43ff6
hyperv/hn: Factor out function to set rxfilter.
...
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8928
2016-12-28 04:47:17 +00:00
Sepherosa Ziehau
c08f7b2c28
hyperv/hn: Function renaming; no functional changes.
...
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8908
2016-12-28 04:35:52 +00:00
Enji Cooper
5120d21c63
style(9): sort alignment in udp_recv(..)
...
MFC after: 3 weeks
2016-12-28 04:31:07 +00:00
Enji Cooper
8d7f605b6c
Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used
...
as the listening address in snmpd_input(..)
Stash the IPv4 address of the receiver via the recv(..) callback and use it in
the send(..) callback for the transport by specifying IP_SENDSRCADDR for the
control message type.
Add sendmsg logic to the UDP transport's send(..) callback and use the
respective send(..) callback for the transport instead of calling sendto in
snmpd_input(..).
MFC after: 3 weeks
Obtained from: Isilon OneFS (^/onefs/branches/BR_8_0_0_DEV@r507595)
Submitted by: Thor Steingrimsson <thor.steingrimsson@isilon.com>
Sponsored by: Dell EMC Isilon
2016-12-28 04:29:09 +00:00
Enji Cooper
f66b889d00
Install snmpmod.3 as all of the bsnmpd APIs it documents
...
MFC after: 3 days
2016-12-28 03:56:25 +00:00
Justin Hibbits
d5a30121f4
Restrict SLB handler to powerpc64 and AIM
...
Only Book-S has SLBs. Book-E does not, so restrict it to only Book-S (which we
call AIM).
2016-12-28 03:40:54 +00:00
Sepherosa Ziehau
87f8129d28
hyperv/hn: Consolidate hn_{suspend,resume}
...
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8907
2016-12-28 03:19:59 +00:00
Sepherosa Ziehau
69d2eb82d7
hyperv/vmbus: Nuke unnecessary critical sections.
...
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8906
2016-12-28 03:07:58 +00:00
Alexander Kabaev
a0e41d3784
Implement pmap_change_attr and related APIs on MIPS
...
On platforms that have uncached-accelerate cache attribute, map it
to VM_MEMATTR_WRITE_COMBINING. Otherwise, leave write comining
undefined.
Reviewed by: adrian, jhb (glance)
Differential Revision: https://reviews.freebsd.org/D8894
2016-12-28 02:55:26 +00:00
Alexander Motin
e67ac203a6
Allow more efficient use of private area.
...
There are 16 bytes of space, so we may store two pointers in one.
MFC after: 2 weeks
2016-12-27 23:56:46 +00:00
Enji Cooper
e1d581b289
style(9): clean up trailing whitespace
...
MFC after: 3 weeks
2016-12-27 23:32:54 +00:00
Mark Johnston
c71c814a97
Remove an obsolete pragma from dtrace.h.
...
It triggers a compiler warning and has been removed upstream.
MFC after: 1 week
2016-12-27 23:31:32 +00:00
Alexander Motin
ca734d8a13
Do not update "saved" mode page on every MODE SELECT.
...
We do not have non-volatile memory to really save those values, so we
neither report nor support this capability. Also saved mode pages are
not replicated between HA peers now.
MFC after: 2 weeks
2016-12-27 22:38:44 +00:00
Oleksandr Tymoshenko
d786719d90
[intelspi] Add SPI driver for Intel BayTrail SoC
...
Add SPI mode (PIO-only) support for Intel Synchronous Serial Port that
can be found in several Intel's products starting from PXA family.
Most of implementations have slight differences in behavior and in
addresses for registers subset. This driver covers only BayTrail SoC
implementation for it's the only hardware I have to test it on.
Driver attaches to ACPI bus only and does not have PCI or FDT support
for now due to lack of hardware to test it on.
"intelspi" is the best name I've managed to come up with. Linux driver
name (spi-pxa2xx) does not make sense because current implementation
does not support actual PXA2xx SoCs. And as far as I know there is no
codename assigned to Intel SSP chip.
Reviewed by: br, manu
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D8896
2016-12-27 22:37:24 +00:00
Alexander Motin
2e0a1f828e
Fix/synchronize field types in struct ctl_modepage_header.
...
MFC after: 2 weeks
2016-12-27 22:31:06 +00:00
Alexander Motin
2c966e8500
Missed piece of r310640.
...
MFC after: 2 weeks
2016-12-27 22:28:14 +00:00
Michael Tuexen
2048d80aa3
Consistent handling of errors reported from the lower layer.
...
MFC after: 3 days
2016-12-27 22:14:41 +00:00