trasz
d05434d7bf
Remove NULL checks after M_WAITOK allocations from mps(4).
...
Reviewed by: asomers@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6296
2016-05-10 14:57:14 +00:00
allanjude
d4d35ffaf8
bsdinstall/zfsboot: Do not mirror swap when swapsize is 0
...
PR: 209415
Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com>
MFC after: 2 weeks
2016-05-10 14:38:43 +00:00
bcr
4773bac9ba
Capitalize "LDAP" in the description field of the _ypldap entry.
...
Reviewed by: bapt
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D5267
2016-05-10 12:47:36 +00:00
hselasky
60669b68d6
Add more LinuxKPI I/O functions.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 12:04:57 +00:00
hselasky
df7f8b3938
Use function macros when possible to avoid stray substitutions.
...
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 11:39:36 +00:00
bapt
8f8b9c58e7
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 11:35:03 +00:00
hselasky
d08b8ba7c0
Add missing semicolon and properly wrap macro argument.
...
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 11:34:22 +00:00
hselasky
b92ade246e
Allow the argument for the cpu_to_xxxp() and xxx_to_cpup() macros to
...
point to a constant.
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 11:31:00 +00:00
bapt
a1770aa8e4
Directly set the NONBLOCK flags when creating the socket
...
No functional changes
2016-05-10 11:18:53 +00:00
bapt
57d2143bfd
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 11:17:36 +00:00
bapt
c80a45c967
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 11:17:19 +00:00
bapt
e77a110d55
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 11:12:31 +00:00
bapt
9af4744a94
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
Obtained from: NetBSD
2016-05-10 11:11:23 +00:00
bapt
a126368953
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
Obtained from: OpenBSD
2016-05-10 11:09:26 +00:00
trasz
94bd76e619
Remove misc NULL checks after M_WAITOK allocations.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2016-05-10 10:26:07 +00:00
trasz
ada488c048
Remove NULL check after M_WAITOK allocations from mfi(4).
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2016-05-10 10:24:35 +00:00
trasz
af62ad8b46
Remove NULL checks after M_WAITOK allocations from firewire.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2016-05-10 10:21:03 +00:00
kib
05241d701e
Add locking annotations to amd64 struct md_page members.
...
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2016-05-10 09:58:51 +00:00
trasz
8e6e54de64
Refactor the root mount hold code and add the wait to etc/rc.d/fsck.
...
This fixes mounting (non-root) USB drives on boot with fsck enabled
(with non-zero 'Pass#' field in fstab(5)).
Reported by: Graham Menhennitt <graham at menhennitt.com.au>
Reviewed by: jilles@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6221
2016-05-10 08:44:44 +00:00
mav
afb02a35fa
Fix previous commit to report proper error code.
...
MFC after: 2 weeks
2016-05-10 08:37:41 +00:00
mav
f1e921c13f
Validate XCOPY range offsets and lengths.
...
MFC after: 2 weeks
2016-05-10 08:28:16 +00:00
mav
3cb5aa8147
More XCOPY parameters validation.
...
MFC after: 2 weeks
2016-05-10 08:08:39 +00:00
arybchik
beca065cf4
sfxge(4): cleanup: fix typo
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 08:00:40 +00:00
arybchik
09d1c92b56
sfxge(4): cleanup: remove unneeded include files
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:59:23 +00:00
bapt
9ac0499d2d
Rename dprintf into dbg_printf to avoid collision with dprintf(3)
...
When dprintf(3) in 2009 was added a _WITH_DPRINTF guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 07:52:17 +00:00
bapt
b4d6cff400
rename getline into zgetline to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
Obtained from: NetBSD
2016-05-10 07:50:57 +00:00
bapt
4ab2fdcc3a
Rename dprintf into dbg_printf to avoid collision with dprintf(3)
...
When dprintf(3) in 2009 was added a _WITH_DPRINTF guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 07:45:44 +00:00
arybchik
9929cf424c
sfxge(4): cleanup: remove unused efx_infer_family()
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:42:18 +00:00
arybchik
5e6d4edc76
sfxge(4): cleanup: remove obsolete common code module
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:40:03 +00:00
arybchik
e917cffc72
sfxge(4): cleanup: fix typos
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:38:23 +00:00
arybchik
aeb833134e
sfxge(4): cleanup efx_check.h comments and error messages
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:22:19 +00:00
arybchik
bae02d583e
sfxge(4): remove EFSYS_OPT_PHY_TXC43128
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:21:14 +00:00
arybchik
15108d3edc
sfxge(4): remove EFSYS_OPT_PHY_SFX7101
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:20:18 +00:00
arybchik
4afb0149b1
sfxge(4): remove EFSYS_OPT_PHY_SFT9001
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:19:15 +00:00
arybchik
b2e45fd4df
sfxge(4): remove EFSYS_OPT_PHY_QT2025C
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:18:18 +00:00
arybchik
3c5d7e81d3
sfxge(4): remove EFSYS_OPT_PHY_QT2022C2
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:17:08 +00:00
arybchik
c459816487
sfxge(4): remove EFSYS_OPT_PHY_NULL
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:15:57 +00:00
arybchik
aa6936fa58
sfxge(4): remove EFSYS_OPT_NVRAM_SFX7101
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:15:09 +00:00
mav
122f6d3ef2
Improve validation of some POPULATE TOKEN parameters.
...
MFC after: 2 weeks
2016-05-10 07:14:49 +00:00
arybchik
18c616fbe9
sfxge(4): remove EFSYS_OPT_NVRAM_SFT9001
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:13:45 +00:00
arybchik
acedf1bb5d
sfxge(4): remove EFSYS_OPT_FALCON_BOOTROM
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:12:27 +00:00
arybchik
8319f89e5a
sfxge(4): remove EFSYS_OPT_MON_NULL
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:11:09 +00:00
arybchik
b19950606a
sfxge(4): remove EFSYS_OPT_MON_MAX6647
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:09:18 +00:00
arybchik
2dcc9c3fa8
sfxge(4): remove EFSYS_OPT_MON_LM87
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:08:40 +00:00
arybchik
29129fc767
sfxge(4): remove EFSYS_OPT_MAC_FALCON_XMAC
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:07:49 +00:00
arybchik
4aaedc9a33
sfxge(4): remove EFSYS_OPT_MAC_FALCON_GMAC
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:06:44 +00:00
arybchik
b13dfdf266
sfxge(4): remove EFSYS_OPT_FALCON_NIC_CFG_OVERRIDE
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:02:59 +00:00
arybchik
4e0cce35ac
sfxge(4): remove EFSYS_OPT_FALCON
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:01:06 +00:00
arybchik
bd836a6e8e
sfxge(4): add TLV item manipulation functions to common code
...
Add creation, deletion and checksumming operations to the private copy of
TLV functions in the common code. Functions added in preparation for V3
licensing support, as licensing keys are stored in the TLV format. Missing
support for multiple segment partitions added. Annotations for Windows code
analysis also updated.
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6264
2016-05-10 06:53:38 +00:00
arybchik
9751d26325
sfxge(4): restructure TLV buffer validation
...
Move TLV buffer validation into ef10-specific function and add accessor
function which also converts the partition ID to the internal
representation.
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6263
2016-05-10 06:51:20 +00:00