1
2
3
4
5
6 #ifndef _SPARC_IDPROM_H
7 #define _SPARC_IDPROM_H
8
9 extern struct linux_romvec *romvec;
10
11
12 #define IDPROM_OFFSET 0x7d8
13
14
15
16 #define IDPROM_OFFSET_M 0xfd8
17
18 struct idp_struct
19 {
20 unsigned char id_f_id;
21 unsigned char id_machtype;
22 unsigned char id_eaddr[6];
23 long id_domf;
24 unsigned int id_sernum:24;
25 unsigned char id_cksum;
26 unsigned char dummy[16];
27 };
28
29 extern struct idp_struct *idprom;
30
31 #define IDPROM_SIZE (sizeof(struct idp_struct))
32
33 #endif