Between __FreeBSD_version 1200058 and 1200081 fields opc and fuse of
struct nvme_command (sys/dev/nvme/nvme.h) where merged under opc_fuse, but
in r338182 this change was undone and this port broke.
Update patch to fix it so it works regardless of the revision we check out.
PR: 230867
Submitted by: ohartmann@walstatt.org
Approved by: tcberner (mentor), maintainer (timeout, 2 weeks)
Differential Revision: https://reviews.freebsd.org/D16908
smartctl can now be used with NVMe drives on BE hosts.
Submitted by: Michal Stanek <mst@semihalf.com>
Reviewed by: cy
Obtained from: Semihalf
Sponsored by: IBM, QCM Technologies
Differential Revision: https://reviews.freebsd.org/D14543
This commit does not address big endian support, which will be addressed
by a separate revision and commit. This commit (and revision) only
addresses build breakage due to Sr329824.
Approved by: imp, wma, kan, mst_semihalf.com (Michal Stanek)
Differential Revision: https://reviews.freebsd.org/D14483
Because clang 6.0.0 and higher default to -std=gnu++14, like gcc 6 and
higher, compiling smartmontools results in the following error:
os_freebsd.cpp:487:45: error: invalid suffix on literal; C++11 requires
a space between literal and identifier [-Wreserved-user-defined-literal]
else if (sscanf(dev, NVME_CTRLR_PREFIX"%d"NVME_NS_PREFIX"%d%c",
^
Fix this by adding spaces around the NVME_NS_PREFIX macro. This makes
the source C++14 compatible.
Approved by: samm@os2.kiev.ua (maintainer)
PR: 224826
MFH: 2018Q1
This version is long awaited and the important improvements related to
FreeBSD are:
- USB device type autodetection for some devices
http://sourceforge.net/apps/trac/smartmontools/wiki/Supported_USB-Devices
- Support for HighPoint RocketRAID controllers
- Support RAID controllers using /dev/pass devices
- Support CHECK_POWER_MODE and WRITE_LOG
- Fix CCISS file descriptor leak
- New device type detection algorithm on FreeBSD, not based on filename
- Support for the adaX (ATA on CAM bus) devices on FreeBSD 8.0 and higher
PR: ports/141371
Submitted by: Alex Samorukov <samm os2 kiev ua>
Approved by: marck (maintainer)