Home
last modified time | relevance | path

Searched refs:idprom (Results 1 – 8 of 8) sorted by relevance

/arch/sparc/kernel/
Didprom.c18 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()
[all …]
DMakefile40 obj-y += idprom.o
/arch/m68k/sun3/
Didprom.c20 struct idprom *idprom; variable
21 EXPORT_SYMBOL(idprom);
23 static struct idprom idprom_buffer;
91 if(Sun_Machines[i].id_machtype == idprom->id_machtype) { in sun3_get_model()
101 static unsigned char __init calc_idprom_cksum(struct idprom *idprom) in calc_idprom_cksum() argument
103 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum()
116 idprom = &idprom_buffer; in idprom_init()
118 if (idprom->id_format != 0x01) { in idprom_init()
123 if (idprom->id_cksum != calc_idprom_cksum(idprom)) { in idprom_init()
125 idprom->id_cksum, calc_idprom_cksum(idprom)); in idprom_init()
[all …]
DMakefile6 obj-y := sun3ints.o sun3dvma.o idprom.o
Dconfig.c207 switch (idprom->id_machtype) { in sun3_platform_init()
/arch/sparc/include/asm/
Didprom.h13 struct idprom { struct
23 extern struct idprom *idprom; argument
/arch/m68k/include/asm/
Didprom.h12 struct idprom { struct
22 extern struct idprom *idprom; argument
/arch/m68k/sun3x/
Dprom.c109 if (!((idprom->id_machtype & SM_ARCH_MASK) == SM_SUN3X)) { in sun3x_prom_init()
111 idprom->id_machtype); in sun3x_prom_init()
113 idprom->id_machtype = SM_SUN3X | SM_3_80; in sun3x_prom_init()