
2.7 EEPROM Data Structure Definition
The following code shows the definition for the w3_eeprom data structure. This data structure stores information about the 3Com 3C5x9 device.
struct w3_eeprom { 1 unsigned short addr[3]; unsigned short pid; unsigned short mandata[3]; unsigned short mid; unsigned short addrconf; unsigned short resconf; unsigned short oem[3]; unsigned short swinfo; unsigned short compat; unsigned short cs1; unsigned short cw2; unsigned short res1; unsigned int icw; unsigned short swinfo2; unsigned short res[2]; unsigned short cs2; unsigned short pnp[40];
};
1
Defines an EEPROM data structure called w3_eeprom. This data structure has the following members:
| addr | Contains the local area network (LAN) address. | 
| pid | Contains the product ID. | 
| mandata | Contains manufacturing data. | 
| mid | Contains the manufacturer ID. | 
| addrconf | Contains the address configuration. | 
| resconf | Contains the resource configuration. | 
| oem | Contains original equipment manufacturer | 
| 
 | (OEM) address fields. | 
| swinfo | Contains software information. | 
| compat | Contains a compatibility word. | 
| cs1 | Contains the first part of the checksum. | 
| cw2 | Contains a second compatibility word. | 
| res1 | Reserved. | 
| icw | Contains an internal configuration word. | 
| swinfo2 | Contains secondary software information. | 
| res | Reserved. | 
| cs2 | Contains the second part of the checksum. | 
| pnp | Contains  | 
