version 1.1.1.1, 2012/02/21 16:32:16
|
version 1.1.1.3, 2013/10/14 07:54:03
|
Line 13
|
Line 13
|
// This is to include whatever structures and prototypes you define in |
// This is to include whatever structures and prototypes you define in |
// os_generic.h |
// os_generic.h |
#include "os_qnxnto.h" |
#include "os_qnxnto.h" |
|
#include <errno.h> |
|
|
// Needed by '-V' option (CVS versioning) of smartd/smartctl. You |
// Needed by '-V' option (CVS versioning) of smartd/smartctl. You |
// should have one *_H_CVSID macro appearing below for each file |
// should have one *_H_CVSID macro appearing below for each file |
Line 370 int status,rc;
|
Line 371 int status,rc;
|
return(rc); |
return(rc); |
} |
} |
//---------------------------------------------------------------------------------------------- |
//---------------------------------------------------------------------------------------------- |
int marvell_command_interface(int fd, smart_command_set command, int select, char *data) |
|
{ |
|
ARGUSED(fd); |
|
ARGUSED(command); |
|
ARGUSED(select); |
|
ARGUSED(data); |
|
unsupported(); |
|
return -1; |
|
} |
|
//---------------------------------------------------------------------------------------------- |
|
int highpoint_command_interface(int fd, smart_command_set command, int select, char *data) |
|
{ |
|
ARGUSED(fd); |
|
ARGUSED(command); |
|
ARGUSED(select); |
|
ARGUSED(data); |
|
unsupported(); |
|
return -1; |
|
} |
|
//---------------------------------------------------------------------------------------------- |
|
// Interface to ATA devices behind 3ware escalade/apache RAID |
|
// controller cards. Same description as ata_command_interface() |
|
// above except that 0 <= disknum <= 15 specifies the ATA disk |
|
// attached to the controller, and controller_type specifies the |
|
// precise type of 3ware controller. See os_linux.c |
|
int escalade_command_interface(int fd,int disknum,int controller_type,smart_command_set command,int select,char *data) |
|
{ |
|
ARGUSED(fd); |
|
ARGUSED(disknum); |
|
ARGUSED(controller_type); |
|
ARGUSED(command); |
|
ARGUSED(select); |
|
ARGUSED(data); |
|
|
|
unsupported(); |
|
return -1; |
|
} |
|
|
|
int areca_command_interface(int fd,int disknum,smart_command_set command,int select,char *data) |
|
{ |
|
ARGUSED(fd); |
|
ARGUSED(disknum); |
|
ARGUSED(command); |
|
ARGUSED(select); |
|
ARGUSED(data); |
|
|
|
unsupported(); |
|
return -1; |
|
} |
|
//---------------------------------------------------------------------------------------------- |
|
#include <errno.h> |
|
// Interface to SCSI devices. See os_linux.c |
// Interface to SCSI devices. See os_linux.c |
int do_scsi_cmnd_io(int fd,struct scsi_cmnd_io * iop,int report) |
int do_scsi_cmnd_io(int fd,struct scsi_cmnd_io * iop,int report) |
{ |
{ |