From 2b310cb97c4749ccfd1acf26e3f50ae6d380dd97 Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Mon, 16 Aug 2004 23:57:20 +0000 Subject: [PATCH] Experimental attempt to merge Marvell support into current HEAD. Leon, have a look please (and try it!). git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/branches/unlabeled-1.7.2@1873 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/os_darwin.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sm5/os_darwin.cpp b/sm5/os_darwin.cpp index 27d67a079..9a99090f7 100644 --- a/sm5/os_darwin.cpp +++ b/sm5/os_darwin.cpp @@ -40,7 +40,7 @@ #include "os_darwin.h" // Needed by '-V' option (CVS versioning) of smartd/smartctl -const char *os_XXXX_c_cvsid="$Id: os_darwin.cpp,v 1.7 2004/08/13 13:57:12 arvoreen Exp $" \ +const char *os_XXXX_c_cvsid="$Id: os_darwin.cpp,v 1.7.2.1 2004/08/16 23:57:19 ballen4705 Exp $" \ ATACMDS_H_CVSID OS_XXXX_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID; @@ -300,6 +300,10 @@ int deviceclose(int fd){ // have a buggy library that treats the boolean value in // SMARTEnableDisableOperations, SMARTEnableDisableAutosave, and // SMARTExecuteOffLineImmediate as always being true. +int marvell_command_interface(int fd, smart_command_set command, + int select, char *data) +{ return -1; } + int ata_command_interface(int fd, smart_command_set command, int select, char *data) -- GitLab