Only test the return value in mktime_negyear

Testing for the errno is an optional requirement according to POSIX, and
FreeBSD doesn't document that errno would be set on failure with mktime

Submitted by: pho
Sponsored by: EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273024 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Change ATF_REQUIRE_MSG calls to ATF_CHECK_MSG to get as many errors as possible

t_strptime:common..
- Expect the testcase body as a whole to fail. Multiple PRs will be filed to
track the issues (there are 18 check failures)

t_strptime:day..
- %EA and %OA seem to be case insensitive on FreeBSD


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273025 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a tunable for arc_shrink_shift (vfs.zfs.arc_shrink_shift) that
controls how much fraction, 1/2^arc_shrink_shift, should be reclaimed
when there is memory pressure.

Submitted by:	Richard Kojedzinszky <krichy at tvnetwork.hu>
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273026 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make sure correct object code is generated at -O0.

Submitted by:	grehan@
Approved by:	so@ (des)
MFC after:	1 month


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273027 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Eliminate unnecessary checking for M_EXT on mbufs returned by m_getjcl().

Reviewed by:	bz, glebius, yongari
MFC after:	3 days
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D938


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273028 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Report physical block size for file-backed LUNs, using vattr.va_blocksize.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273029 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
* Fix zeroing individual entries via ipfw(8).
* Report error and return non-zero exit code if zeroing non-matched entries

Found by:	Oleg Ginzburg


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273032 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Show error when deleting non-existing rule number.

Found by:	Oleg Ginzburg


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273033 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add one more AMD Kaveri APU device ID.

Submitted by:	Remy Nonnenmacher <remy.nonnenmacher@activnetworks.com>
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273034 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix matching default rule on clear/show commands.

Found by:	Oleg Ginzburg


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273035 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for READ DEFECT DATA (10/12) commands.

SPC-4 r2 allows to return empty defect list if the list is not supported.
We don't reallu support defect data lists, but this suppresses some errors.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273038 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix for build issue on i386.xen and amd64.xen.

This is a duplicate variable reference in mrsas, so now this patch isolate atomic_ variable and relavent
function call using prefix mrsas_xx.

Issue was introduced in r272737.

MFC after:	2 weeks
Sponsored by:	Avago Technology


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273040 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Start removing the omap3 support. In base it was only ever a header and a
few changes to drivers, no kernel config was added. As the SoCs are quite
old and the code is unmaintained start the process of removing support by
deleting the header file and code that depends on it along with the macro
SOC_OMAP3. Other Ti SoCs shouldn't be affected, other than for us to have
less code to maintain.

Differential Revision:	https://reviews.freebsd.org/D936
Reviewed by:	rpaulo, loos


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273041 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Sort the files in the am355x directory.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273045 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Don't confuse frontend with zero length data moves, just return immediately.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273046 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove the need for files.beaglebone and std.beaglebone by moving the one
option they defined into files.am335x.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix most of the warnings in kdump(1).

Sponsored by:	Norse


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273048 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove ti_mmchs.c, it has been replaced by ti_sdhci.c.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273049 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
class, subclass and progif were never used, so don't bother setting
them.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273050 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use the C99 flexible array construct to denote a variable amount of
data rather than the old-school [1] construct. We have required c99
compilers for some time.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273051 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f