user/ec_globals.h
author Florian Pose <fp@igh-essen.com>
Fri, 21 Oct 2005 11:44:10 +0000
changeset 1 98acc19c7594
parent 0 05c992bf5847
permissions -rw-r--r--
Kommentare im 8139-Treiber ge?ndert.
//---------------------------------------------------------------
//
//  e c _ g l o b a l s . h
//
//  $LastChangedDate$
//  $Author$
//
//---------------------------------------------------------------

#define EC_CMD_APRD 0x01 // Auto-increment physical read
#define EC_CMD_APWR 0x02 // Auto-increment physical write
#define EC_CMD_NPRD 0x04 // Node-addressed physical read
#define EC_CMD_NPWR 0x05 // Node-addressed physical write
#define EC_CMD_BRD  0x07 // Broadcast read
#define EC_CMD_BWR  0x08 // Broadcast write
#define EC_CMD_LRW  0x0C // Logical read/write

#define EC_STATE_UNKNOWN 0x00
#define EC_STATE_INIT    0x01
#define EC_STATE_PREOP   0x02
#define EC_STATE_SAVEOP  0x04
#define EC_STATE_OP      0x08

#define EC_ACK_STATE 0x10

//---------------------------------------------------------------