Lines Matching refs:idprom
18 struct idprom *idprom; variable
19 EXPORT_SYMBOL(idprom);
21 static struct idprom idprom_buffer;
68 return idprom->id_ethaddr; in arch_get_platform_mac_address()
72 static unsigned char __init calc_idprom_cksum(struct idprom *idprom) in calc_idprom_cksum() argument
74 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum()
87 idprom = &idprom_buffer; in idprom_init()
89 if (idprom->id_format != 0x01) in idprom_init()
92 if (idprom->id_cksum != calc_idprom_cksum(idprom)) in idprom_init()
94 idprom->id_cksum, calc_idprom_cksum(idprom)); in idprom_init()
96 display_system_type(idprom->id_machtype); in idprom_init()
98 printk(KERN_WARNING "Ethernet address: %pM\n", idprom->id_ethaddr); in idprom_init()