xref: /netbsd-src/sys/arch/sun3/include/idprom.h (revision cda4f8f6ee55684e8d311b86c99ea59191e6b74f)
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 #define OIDPROM_BASE 0		/* bogus XXX */
21 int idprom_fetch __P((struct idprom *, int version));
22 
23