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