summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools/files/patch-os_freebsd.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve the FreeBSD SCSI and SAS support in smartmontools:Tijl Coosemans2014-03-031-10/+256
| | | | | | | | | | | | | | | | | | | | - Remove unused private fields from some classes (found by Clang). - In freebsd_scsi_device::scsi_pass_through: * Make sure this function returns false on error instead of an error code that gets converted to true. * Put printing of the "Incoming data" debug info right after the cam_send_ccb() call and before the error checking to make debugging easier. * When copying sense data make sure the fields in the CCB are actually valid with CAM_AUTOSNS_VALID. Also make sure that the size of the sense data doesn't overflow max_sense_len. This was the real cause for the crash in ports/181836. * Add some debug printing on the sense data. Committed upstream as r3873. PR: ports/181836, ports/185960, ports/186095 Tested by: many
* - Fix a crash with some SCSI disks.Tijl Coosemans2014-01-171-0/+31
- Add DOCS option and use option helpers. - USES=gmake. - Staging. - Remove CFLAGS left from old versions. PR: ports/181836 Approved by: maintainer timeout (3 weeks)