Go to the documentation of this file.
32 #define IXGB_EEPROM_SIZE 64
35 #define EEPROM_READ_OPCODE 0x6
36 #define EEPROM_WRITE_OPCODE 0x5
37 #define EEPROM_ERASE_OPCODE 0x7
38 #define EEPROM_EWEN_OPCODE 0x13
39 #define EEPROM_EWDS_OPCODE 0x10
42 #define EEPROM_IA_1_2_REG 0x0000
43 #define EEPROM_IA_3_4_REG 0x0001
44 #define EEPROM_IA_5_6_REG 0x0002
45 #define EEPROM_COMPATIBILITY_REG 0x0003
46 #define EEPROM_PBA_1_2_REG 0x0008
47 #define EEPROM_PBA_3_4_REG 0x0009
48 #define EEPROM_INIT_CONTROL1_REG 0x000A
49 #define EEPROM_SUBSYS_ID_REG 0x000B
50 #define EEPROM_SUBVEND_ID_REG 0x000C
51 #define EEPROM_DEVICE_ID_REG 0x000D
52 #define EEPROM_VENDOR_ID_REG 0x000E
53 #define EEPROM_INIT_CONTROL2_REG 0x000F
54 #define EEPROM_SWDPINS_REG 0x0020
55 #define EEPROM_CIRCUIT_CTRL_REG 0x0021
56 #define EEPROM_D0_D3_POWER_REG 0x0022
57 #define EEPROM_FLASH_VERSION 0x0032
58 #define EEPROM_CHECKSUM_REG 0x003F
62 #define EEPROM_ICW1_SIGNATURE_MASK 0xC000
63 #define EEPROM_ICW1_SIGNATURE_VALID 0x4000
64 #define EEPROM_ICW1_SIGNATURE_CLEAR 0x0000
67 #define EEPROM_SUM 0xBABA