Skip to content
Snippets Groups Projects
Commit 91db08ca authored by samm2's avatar samm2
Browse files

FreeBSD: disable 48bit commans in the ata_pass_through because of IOCATAREQUEST ioctl limitations

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@3066 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 1ad8d784
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,9 @@ NOTES FOR FUTURE RELEASES: see TODO file.
<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
[AS] FreeBSD: disable 48-bit commands in the ata_pass_through interface,
there is no 48-bit support in the IOCATAREQUEST ioctl.
[CF] smartctl: Add option '-l scterc[,READTIME,WRITETIME]' to get/set
the SCT Error Recovery Control time limit (ticket #50).
......
......@@ -261,7 +261,11 @@ int freebsd_ata_device::do_cmd( struct ata_ioc_request* request)
bool freebsd_ata_device::ata_pass_through(const ata_cmd_in & in, ata_cmd_out & out)
{
if (!ata_cmd_is_ok(in, true, true, true)) // data_out_support
if (!ata_cmd_is_ok(in,
true, // data_out_support
true, // multi_sector_support
false) // no ata_48bit_support via IOCATAREQUEST
)
return false;
struct ata_ioc_request request;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment