1 /* 2 * 3 * structure/definitions for the 32 byte id prom found in sun3s 4 * 5 */ 6 7 8 struct idprom { 9 unsigned char idp_format; 10 unsigned char idp_machtype; 11 unsigned char idp_etheraddr; 12 long idp_date; 13 unsigned char idp_serialnum[3]; 14 unsigned char idp_checksum; 15 unsigned char ipd_reserved[16]; 16 }; 17 18 #define IDPROM_VERSION 1 19 #define IDPROM_SIZE (sizeof(struct idprom)) 20 21 int idprom_fetch __P((struct idprom *, int version)); 22 23