Skip to content
Snippets Groups Projects
Commit b8954d22 authored by chrfranke's avatar chrfranke
Browse files

Release 6.5 RELEASE_6_5

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/tags/RELEASE_6_5@4318 4ea69e1a-61f1-4043-bf83-b5c94c648137
parents
No related tags found
No related merge requests found
Showing
with 63 additions and 0 deletions
This diff is collapsed.
#ifndef CCISS_H_
#define CCISS_H_
#define CCISS_H_CVSID "$Id: cciss.h,v 1.1 2007/04/01 16:49:46 shattered Exp $\n"
int cciss_io_interface(int device, int target,
struct scsi_cmnd_io * iop, int report);
#endif /* CCISS_H_ */
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*
* dev_ata_cmd_set.h
*
* Home page of code is: http://www.smartmontools.org
*
* Copyright (C) 2008 Christian Franke <smartmontools-support@lists.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef DEV_ATA_CMD_SET_H
#define DEV_ATA_CMD_SET_H
#define DEV_ATA_CMD_SET_H_CVSID "$Id$"
#include "atacmds.h" // smart_command_set
#include "dev_interface.h"
/////////////////////////////////////////////////////////////////////////////
// ata_device_with_command_set
/// Adapter class to implement new ATA pass through old interface.
class ata_device_with_command_set
: public /*implements*/ ata_device
{
public:
/// ATA pass through mapped to ata_command_interface().
virtual bool ata_pass_through(const ata_cmd_in & in, ata_cmd_out & out);
protected:
/// Old ATA interface called by ata_pass_through()
virtual int ata_command_interface(smart_command_set command, int select, char * data) = 0;
ata_device_with_command_set()
: smart_device(never_called) { }
};
#endif // DEV_ATA_CMD_SET_H
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#! /bin/sh
# Send message if /usr/lib/powersave/powersave-notify exists or exit silently
[ -x /usr/lib/powersave/powersave-notify ] || exit 0
/usr/lib/powersave/powersave-notify "<b>Your hard disk drive is failing!</b>
S.M.A.R.T. message:
$SMARTD_MESSAGE"
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment