#include "FBLib_hdd.h"
#include "libFireBird.h"
#include <sys/ioctl.h>
#include <unistd.h>
#include <linux/hdreg.h>
#include <fcntl.h>
#include <linux/fs.h>
Go to the source code of this file.
Functions | |
int | SendHDDCommand (dword Command, const byte *CommandBlock, int BufferSize) |
int SendHDDCommand | ( | dword | Command, |
const byte * | CommandBlock, | ||
int | BufferSize | ||
) |
Definition at line 4 of file SendHDDCommand.c.
References BufferSize, endian_swap_word, TRACEENTER, and TRACEEXIT.
Referenced by HDD_AAM_Disable(), HDD_AAM_Enable(), HDD_APM_Disable(), HDD_APM_Enable(), HDD_IdentifyDevice(), HDD_Smart_DisableAttributeAutoSave(), HDD_Smart_DisableOperations(), HDD_Smart_EnableAttributeAutoSave(), HDD_Smart_EnableOperations(), HDD_Smart_ReadData(), HDD_Smart_ReadThresholdData(), and HDD_Smart_ReturnStatus().