Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
smcommon.h File Reference

Go to the source code of this file.

Macros

#define SMSUCCESS   0x0000 /* SUCCESS */
 
#define ERROR   0xFFFF /* ERROR */
 
#define CORRECT   0x0001 /* CORRECTABLE */
 
#define NO_ERROR   0x0000 /* NO ERROR */
 
#define ERR_WriteFault   0x0003 /* Peripheral Device Write Fault */
 
#define ERR_HwError   0x0004 /* Hardware Error */
 
#define ERR_DataStatus   0x0010 /* DataStatus Error */
 
#define ERR_EccReadErr   0x0011 /* Unrecovered Read Error */
 
#define ERR_CorReadErr   0x0018 /* Recovered Read Data with ECC */
 
#define ERR_OutOfLBA   0x0021 /* Illegal Logical Block Address */
 
#define ERR_WrtProtect   0x0027 /* Write Protected */
 
#define ERR_ChangedMedia   0x0028 /* Medium Changed */
 
#define ERR_UnknownMedia   0x0030 /* Incompatible Medium Installed */
 
#define ERR_IllegalFmt   0x0031 /* Medium Format Corrupted */
 
#define ERR_NoSmartMedia   0x003A /* Medium Not Present */
 

Macro Definition Documentation

#define CORRECT   0x0001 /* CORRECTABLE */

Definition at line 11 of file smcommon.h.

#define ERR_ChangedMedia   0x0028 /* Medium Changed */

Definition at line 22 of file smcommon.h.

#define ERR_CorReadErr   0x0018 /* Recovered Read Data with ECC */

Definition at line 19 of file smcommon.h.

#define ERR_DataStatus   0x0010 /* DataStatus Error */

Definition at line 17 of file smcommon.h.

#define ERR_EccReadErr   0x0011 /* Unrecovered Read Error */

Definition at line 18 of file smcommon.h.

#define ERR_HwError   0x0004 /* Hardware Error */

Definition at line 16 of file smcommon.h.

#define ERR_IllegalFmt   0x0031 /* Medium Format Corrupted */

Definition at line 24 of file smcommon.h.

#define ERR_NoSmartMedia   0x003A /* Medium Not Present */

Definition at line 25 of file smcommon.h.

#define ERR_OutOfLBA   0x0021 /* Illegal Logical Block Address */

Definition at line 20 of file smcommon.h.

#define ERR_UnknownMedia   0x0030 /* Incompatible Medium Installed */

Definition at line 23 of file smcommon.h.

#define ERR_WriteFault   0x0003 /* Peripheral Device Write Fault */

Definition at line 15 of file smcommon.h.

#define ERR_WrtProtect   0x0027 /* Write Protected */

Definition at line 21 of file smcommon.h.

#define ERROR   0xFFFF /* ERROR */

Definition at line 10 of file smcommon.h.

#define NO_ERROR   0x0000 /* NO ERROR */

Definition at line 14 of file smcommon.h.

#define SMSUCCESS   0x0000 /* SUCCESS */

Definition at line 9 of file smcommon.h.