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

Go to the source code of this file.

Macros

#define ZEPROM_V1_REG   PCI_VENDOR_ID /* PCI register */
 
#define ZEPROM_V2_REG   0x40
 
#define ZEPROM_SK   0x80000000 /* strobe (probably on raising edge) */
 
#define ZEPROM_CS   0x40000000 /* Chip Select */
 
#define ZEPROM_DI   0x20000000 /* Data Input */
 
#define ZEPROM_DO   0x10000000 /* Data Output */
 
#define ZEPROM_SIZE   32 /* 32 bytes */
 
#define ZEPROM_V1_ESI_OFF   24 /* ESI offset in EEPROM (V1) */
 
#define ZEPROM_V2_ESI_OFF   4 /* ESI offset in EEPROM (V2) */
 
#define ZEPROM_CMD_LEN   3 /* commands are three bits */
 
#define ZEPROM_ADDR_LEN   6 /* addresses are six bits */
 
#define ZEPROM_CMD_READ   6
 

Macro Definition Documentation

#define ZEPROM_ADDR_LEN   6 /* addresses are six bits */

Definition at line 26 of file zeprom.h.

#define ZEPROM_CMD_LEN   3 /* commands are three bits */

Definition at line 25 of file zeprom.h.

#define ZEPROM_CMD_READ   6

Definition at line 30 of file zeprom.h.

#define ZEPROM_CS   0x40000000 /* Chip Select */

Definition at line 17 of file zeprom.h.

#define ZEPROM_DI   0x20000000 /* Data Input */

Definition at line 18 of file zeprom.h.

#define ZEPROM_DO   0x10000000 /* Data Output */

Definition at line 19 of file zeprom.h.

#define ZEPROM_SIZE   32 /* 32 bytes */

Definition at line 21 of file zeprom.h.

#define ZEPROM_SK   0x80000000 /* strobe (probably on raising edge) */

Definition at line 16 of file zeprom.h.

#define ZEPROM_V1_ESI_OFF   24 /* ESI offset in EEPROM (V1) */

Definition at line 22 of file zeprom.h.

#define ZEPROM_V1_REG   PCI_VENDOR_ID /* PCI register */

Definition at line 11 of file zeprom.h.

#define ZEPROM_V2_ESI_OFF   4 /* ESI offset in EEPROM (V2) */

Definition at line 23 of file zeprom.h.

#define ZEPROM_V2_REG   0x40

Definition at line 12 of file zeprom.h.