1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 11:40:31 -04:00
Commit graph

13 commits

Author SHA1 Message Date
Fernando Apesteguía
7181b82ac1 sysutils/smartmontools: unbreak in 12-CURRENT
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
2018-09-07 15:45:14 +00:00
Marcin Wojtas
c8ef46a2f8 Display NVMe data properly on Big Endian hosts with sysutils/smartmontools
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
2018-03-08 18:43:41 +00:00
Mathieu Arnold
0b374af2e6 Fix build.
Sponsored by:	Absolight
2018-02-27 18:05:47 +00:00
Cy Schubert
2571c076d0 Fix build under -CURRENT following Sr329824.
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
2018-02-26 20:19:51 +00:00
Dimitry Andric
494c3f8e3e Make smartmontools 6.6 compile with clang 6.0.0 and higher
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
2018-01-01 21:19:33 +00:00
Niclas Zeising
f59e3fd6a5 Update to 6.6
PR:		223456
Submitted by:	samm@os2.kiev.ua (maintainer)
2017-11-06 19:39:05 +00:00
Tijl Coosemans
d34939e7a9 Add a patch to zero-initialise a variable that is passed to the kernel
where it could trigger assertions.

PR:		178032
Submitted by:	op@hardenedbsd.org
Approved by:	samm@os2.kiev.ua (maintainer)
Sponsored by:	opBSD
2017-02-07 15:49:27 +00:00
Xin LI
05d6bc7bcc Update to 5.39.
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)
2009-12-23 18:55:52 +00:00
Alexander Logvinov
32a0ad1ce2 - Fix command 13 in ata_command_interface()
PR:		ports/137177
Submitted by:	marck (maintainer)
Approved by:	tabthorpe (mentor)
2009-08-31 13:45:57 +00:00
Pav Lucistnik
5b0c008d13 - Support SATA disks attached to a SAS controller
- Compile with -O to prevent SCSI bus resets on amd64

Submitted by:	ru
2009-05-21 07:47:02 +00:00
Pav Lucistnik
0bb59eff20 - Update to 5.38
- Mark the CISS patch as broken, it wasn't update to 5.38
2008-03-25 15:39:33 +00:00
Pav Lucistnik
9cd588d1cf - Allow smartctl to interact with SCSI /dev/pass devices, thus enabling it to
work with RAID controllers that expose disks via these devices.

Submitted by:	scottl
2007-10-21 16:18:51 +00:00
Pav Lucistnik
4cac24ee80 - Fix smartd to detect drives if the first drive has two-digit number (like
ad10)
- Recognize some new Western Digital Caviar SE drives

PR:		ports/110806
Submitted by:	marck
2007-03-25 16:08:55 +00:00