X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=os_os2.cpp;h=2846f4a054f850fa940f17da07930cfb239f7d36;hb=2f3ba5f6c323de1700548481f4ea9bb646e8d088;hp=a17417002e9ed776b3257bb708a4e5686e4a469f;hpb=c92c14edb59332484bb782ff799f1a06a8eef30a;p=mirror_smartmontools-debian.git diff --git a/os_os2.cpp b/os_os2.cpp index a174170..2846f4a 100644 --- a/os_os2.cpp +++ b/os_os2.cpp @@ -1,7 +1,7 @@ /* * os_os2.c * - * Home page of code is: http://smartmontools.sourceforge.net + * Home page of code is: http://www.smartmontools.org * * Copyright (C) 2004-8 Yuri Dario * @@ -11,8 +11,8 @@ * any later version. * * You should have received a copy of the GNU General Public License - * (for example COPYING); if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * (for example COPYING); if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* @@ -31,7 +31,7 @@ #include "os_os2.h" // Needed by '-V' option (CVS versioning) of smartd/smartctl -const char *os_XXXX_c_cvsid="$Id: os_os2.cpp,v 1.9 2008/06/12 21:46:31 ballen4705 Exp $" \ +const char *os_XXXX_c_cvsid="$Id: os_os2.cpp 4120 2015-08-27 16:12:21Z samm2 $" \ ATACMDS_H_CVSID OS_XXXX_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID; // global handle to device driver @@ -65,7 +65,6 @@ static void unsupported(int which){ if (!warninggiven[which]) { char msg; - debugmode=1; warninggiven[which]=1; switch (which) { @@ -523,31 +522,6 @@ int ata_command_interface(int device, smart_command_set command, int select, cha return 0; } -int marvell_command_interface(int fd, smart_command_set command, int select, char *data){ - unsupported(1); - return -1; -} - -int highpoint_command_interface(int fd, smart_command_set command, int select, char *data) -{ - unsupported(1); - return -1; -} - -// Interface to ATA devices behind 3ware escalade RAID controller -// cards. Same description as ata_command_interface() above except -// that 0 <= disknum <= 15 specifies the ATA disk attached to the -// controller. -int escalade_command_interface(int fd, int disknum, int escalade_type, smart_command_set command, int select, char *data){ - unsupported(2); - return -1; -} - -int areca_command_interface(int fd, int disknum, smart_command_set command, int select, char *data){ - unsupported(2); - return -1; -} - // Interface to SCSI devices. See os_linux.c int do_scsi_cmnd_io(int fd, struct scsi_cmnd_io * iop, int report) { unsupported(3);