Skip to content
Snippets Groups Projects
Commit 58878a05 authored by samm2's avatar samm2
Browse files

freebsd never caches ATA identify sector, remove bogus defines

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2955 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 4ea554b6
No related branches found
No related tags found
No related merge requests found
......@@ -128,12 +128,6 @@ extern smartmonctrl * con; // con->reportscsiioctl
/////////////////////////////////////////////////////////////////////////////
#ifdef HAVE_ATA_IDENTIFY_IS_CACHED
int ata_identify_is_cached(int fd);
#endif
/////////////////////////////////////////////////////////////////////////////
namespace os_freebsd { // No need to publish anything, name provided for Doxygen
/////////////////////////////////////////////////////////////////////////////
......@@ -246,10 +240,6 @@ class freebsd_ata_device
public:
freebsd_ata_device(smart_interface * intf, const char * dev_name, const char * req_type);
#ifdef HAVE_ATA_IDENTIFY_IS_CACHED
virtual bool ata_identify_is_cached() const;
#endif
protected:
virtual int ata_command_interface(smart_command_set command, int select, char * data);
virtual int do_cmd(struct ata_ioc_request* request);
......@@ -513,14 +503,6 @@ int freebsd_ata_device::ata_command_interface(smart_command_set command, int sel
return 0;
}
#ifdef HAVE_ATA_IDENTIFY_IS_CACHED
bool freebsd_ata_device::ata_identify_is_cached() const
{
return !!::ata_identify_is_cached(get_fd());
}
#endif
/////////////////////////////////////////////////////////////////////////////
/// Implement AMCC/3ware RAID support with old functions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment