/openbmc/linux/arch/sparc/kernel/ |
H A D | idprom.c | 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() [all …]
|
H A D | Makefile | 40 obj-y += idprom.o
|
/openbmc/linux/arch/m68k/sun3/ |
H A D | idprom.c | 20 struct idprom *idprom; variable 21 EXPORT_SYMBOL(idprom); 23 static struct idprom idprom_buffer; 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() 129 display_system_type(idprom->id_machtype); in idprom_init() [all …]
|
H A D | Makefile | 6 obj-y := sun3ints.o sun3dvma.o idprom.o
|
H A D | config.c | 205 switch (idprom->id_machtype) { in sun3_platform_init()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | idprom.h | 13 struct idprom { struct 23 extern struct idprom *idprom; argument
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | idprom.h | 12 struct idprom { struct 22 extern struct idprom *idprom; argument
|
/openbmc/linux/arch/m68k/sun3x/ |
H A D | prom.c | 107 if (!((idprom->id_machtype & SM_ARCH_MASK) == SM_SUN3X)) { in sun3x_prom_init() 109 idprom->id_machtype); in sun3x_prom_init() 111 idprom->id_machtype = SM_SUN3X | SM_3_80; in sun3x_prom_init()
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | sni_82596.c | 76 struct resource *res, *ca, *idprom, *options; in sni_82596_probe() local 86 idprom = platform_get_resource(dev, IORESOURCE_MEM, 2); in sni_82596_probe() 87 if (!res || !ca || !options || !idprom) in sni_82596_probe() 108 eth_addr = ioremap(idprom->start, 0x10); in sni_82596_probe()
|
H A D | sun3_82586.c | 289 switch(idprom->id_machtype) { in sun3_82586_probe() 349 eth_hw_addr_set(dev, idprom->id_ethaddr); in sun3_82586_probe1()
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | armada-385-atl-x530.dtsi | 238 partition@idprom { 240 label = "idprom";
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-385-atl-x530.dts | 196 label = "idprom";
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | sun3lance.c | 258 switch(idprom->id_machtype) { in sun3lance_probe() 375 eth_hw_addr_set(dev, idprom->id_ethaddr); in lance_probe()
|
H A D | sunlance.c | 1317 eth_hw_addr_set(dev, idprom->id_ethaddr); in sparc_lance_probe_one()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunqe.c | 847 eth_hw_addr_set(dev, idprom->id_ethaddr); in qec_ether_init()
|
H A D | sunbmac.c | 1088 eth_hw_addr_set(dev, idprom->id_ethaddr); in bigmac_ether_init()
|
H A D | sunhme.c | 2425 eth_hw_addr_set(hp->dev, idprom->id_ethaddr); in happy_meal_addr_init()
|
H A D | sungem.c | 2782 addr = idprom->id_ethaddr; in gem_get_device_address()
|
/openbmc/linux/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 1462 macaddr[i] = (unsigned int) idprom->id_ethaddr[i]; in greth_of_probe()
|