1 /* idprom.h: Macros and defines for idprom routines 2 * 3 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 4 */ 5 6 extern struct linux_romvec *romvec; 7 8 #define IDPROM_ADDR (0xffd04000 + 0x7d8) 9 #define IDPROM_SIZE 36 10 11 struct idp_struct 12 { 13 unsigned char id_f_id; /* format identifier */ 14 unsigned char id_machtype; /* Machine type */ 15 unsigned char id_eaddr[6]; /* hardware ethernet address */ 16 long id_domf; /* Date when this machine was manufactured */ 17 unsigned int id_sernum:24; /* Unique serial number */ 18 unsigned char id_cksum; /* XXX */ 19 unsigned char dummy[16]; /* XXX */ 20 }; 21