version 1.1.1.2, 2013/07/22 01:17:35
|
version 1.1.1.3, 2013/10/14 07:54:03
|
Line 285 static void swap_sector(void *p)
|
Line 285 static void swap_sector(void *p)
|
#endif |
#endif |
|
|
// Interface to ATA devices. See os_linux.c |
// Interface to ATA devices. See os_linux.c |
int marvell_command_interface(int fd, smart_command_set command, int select, char *data){ |
|
ARGUSED(fd); ARGUSED(command); ARGUSED(select); ARGUSED(data); |
|
return -1; |
|
} |
|
|
|
int highpoint_command_interface(int fd, smart_command_set command, int select, char *data) |
|
{ |
|
ARGUSED(fd); ARGUSED(command); ARGUSED(select); ARGUSED(data); |
|
return -1; |
|
} |
|
|
|
int ata_command_interface(int fd, smart_command_set command, int select, char *data){ |
int ata_command_interface(int fd, smart_command_set command, int select, char *data){ |
#if defined(__sparc) |
#if defined(__sparc) |
int err; |
int err; |
Line 350 int ata_command_interface(int fd, smart_command_set co
|
Line 339 int ata_command_interface(int fd, smart_command_set co
|
return -1; |
return -1; |
#endif |
#endif |
return -1; |
return -1; |
} |
|
|
|
// Interface to ATA devices behind 3ware escalade RAID controller cards. See os_linux.c |
|
int escalade_command_interface(int fd, int disknum, int escalade_type, smart_command_set command, int select, char *data){ |
|
ARGUSED(fd); ARGUSED(disknum); ARGUSED(escalade_type); |
|
ARGUSED(command); ARGUSED(select); ARGUSED(data); |
|
|
|
if (printwarning(1)) |
|
return -1; |
|
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); |
|
|
|
if (printwarning(1)) |
|
return -1; |
|
return -1; |
|
} |
} |
|
|
#include <errno.h> |
#include <errno.h> |