/linux-2.4.37.9/arch/sparc64/kernel/ |
D | idprom.c | 15 struct idprom *idprom; variable 16 static struct idprom idprom_buffer; 19 static unsigned char __init calc_idprom_cksum(struct idprom *idprom) in calc_idprom_cksum() argument 21 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum() 34 idprom = &idprom_buffer; in idprom_init() 36 if (idprom->id_format != 0x01) { in idprom_init() 40 if (idprom->id_cksum != calc_idprom_cksum(idprom)) { in idprom_init() 42 idprom->id_cksum, calc_idprom_cksum(idprom)); in idprom_init() 46 idprom->id_ethaddr[0], idprom->id_ethaddr[1], in idprom_init() 47 idprom->id_ethaddr[2], idprom->id_ethaddr[3], in idprom_init() [all …]
|
D | Makefile | 15 obj-y := process.o setup.o cpu.o idprom.o \
|
D | sparc64_ksyms.c | 270 EXPORT_SYMBOL(idprom);
|
/linux-2.4.37.9/arch/m68k/sun3/ |
D | idprom.c | 18 struct idprom *idprom; variable 19 static struct idprom idprom_buffer; 85 if(Sun_Machines[i].id_machtype == idprom->id_machtype) { in sun3_get_model() 95 static unsigned char __init calc_idprom_cksum(struct idprom *idprom) in calc_idprom_cksum() argument 97 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum() 110 idprom = &idprom_buffer; in idprom_init() 112 if (idprom->id_format != 0x01) { in idprom_init() 117 if (idprom->id_cksum != calc_idprom_cksum(idprom)) { in idprom_init() 119 idprom->id_cksum, calc_idprom_cksum(idprom)); in idprom_init() 123 display_system_type(idprom->id_machtype); in idprom_init() [all …]
|
D | sun3_ksyms.c | 13 EXPORT_SYMBOL(idprom);
|
D | Makefile | 17 obj-y := sun3_ksyms.o sun3ints.o sun3dvma.o sbus.o idprom.o
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | idprom.c | 21 struct idprom *idprom; variable 22 static struct idprom idprom_buffer; 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() 94 if (idprom->id_cksum != calc_idprom_cksum(idprom)) { in idprom_init() 96 idprom->id_cksum, calc_idprom_cksum(idprom)); in idprom_init() 100 display_system_type(idprom->id_machtype); in idprom_init() 103 idprom->id_ethaddr[0], idprom->id_ethaddr[1], in idprom_init() [all …]
|
D | time.c | 126 if((idprom->id_machtype == (SM_SUN4 | SM_4_260)) || in timer_interrupt() 127 (idprom->id_machtype == (SM_SUN4 | SM_4_110))) { in timer_interrupt() 237 if( idprom->id_machtype == (SM_SUN4 | SM_4_330) ) { in sun4_clock_probe() 248 } else if( idprom->id_machtype == (SM_SUN4 | SM_4_260)) { in sun4_clock_probe() 385 if(idprom->id_machtype == (SM_SUN4 | SM_4_330)) { in sbus_time_init() 405 } else if(idprom->id_machtype == (SM_SUN4 | SM_4_260) ) { in sbus_time_init()
|
D | sun4c_irq.c | 141 if (idprom->id_machtype == (SM_SUN4 | SM_4_260)) in sun4c_clear_clock_irq() 166 if (idprom->id_machtype == (SM_SUN4 | SM_4_260)) in sun4c_init_timers()
|
D | sun4setup.c | 37 switch(idprom->id_machtype) { in sun4setup()
|
D | Makefile | 25 process.o signal.o ioport.o setup.o idprom.o \
|
D | sparc_ksyms.c | 228 EXPORT_SYMBOL(idprom);
|
/linux-2.4.37.9/include/asm-sparc/ |
D | idprom.h | 17 struct idprom struct 28 extern struct idprom *idprom; argument 31 #define IDPROM_SIZE (sizeof(struct idprom))
|
D | mostek.h | 56 struct idprom idprom; /* The idprom lives here. */ member
|
D | floppy.h | 291 ((idprom->id_machtype == (SM_SUN4C | SM_4C_SLC)) || in sun_floppy_init() 292 (idprom->id_machtype == (SM_SUN4C | SM_4C_ELC)))) { in sun_floppy_init()
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | idprom.h | 19 struct idprom struct 30 extern struct idprom *idprom; argument 33 #define IDPROM_SIZE (sizeof(struct idprom))
|
/linux-2.4.37.9/arch/m68k/sun3x/ |
D | prom.c | 119 if(!((idprom->id_machtype & SM_ARCH_MASK) == SM_SUN3X)) { in sun3x_prom_init() 121 idprom->id_machtype); in sun3x_prom_init() 123 idprom->id_machtype = SM_SUN3X | SM_3_80; in sun3x_prom_init()
|
D | sun3x_ksyms.c | 13 EXPORT_SYMBOL(idprom);
|
/linux-2.4.37.9/arch/sparc/prom/ |
D | sun4prom.c | 25 static struct idprom sun4_idprom; 42 {"idprom", (char *)&sun4_idprom, sizeof(struct idprom)},
|
/linux-2.4.37.9/arch/sparc/mm/ |
D | sun4c.c | 290 switch (idprom->id_machtype) { in sun4c_probe_vac() 323 …prom_printf("Cannot initialize VAC - weird sun4 model idprom->id_machtype = %d", idprom->id_machty… in sun4c_probe_vac() 329 if ((idprom->id_machtype == (SM_SUN4C | SM_4C_SS1)) || in sun4c_probe_vac() 330 (idprom->id_machtype == (SM_SUN4C | SM_4C_SS1PLUS))) { in sun4c_probe_vac() 452 switch (idprom->id_machtype) { in sun4c_probe_mmu() 481 if ((idprom->id_machtype == (SM_SUN4C | SM_4C_SS1)) || in sun4c_probe_mmu() 482 (idprom->id_machtype == (SM_SUN4C | SM_4C_SS1PLUS))) { in sun4c_probe_mmu() 522 if ((idprom->id_machtype == (SM_SUN4C | SM_4C_SS2)) || in sun4c_init_ss2_cache_bug() 523 (idprom->id_machtype == (SM_SUN4C | SM_4C_IPX)) || in sun4c_init_ss2_cache_bug() 524 (idprom->id_machtype == (SM_SUN4 | SM_4_330)) || in sun4c_init_ss2_cache_bug() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | myri_sbus.c | 818 mp->eeprom.id[1] = idprom->id_machtype; in set_boardid_from_idprom() 819 mp->eeprom.id[2] = (idprom->id_sernum >> 16) & 0xff; in set_boardid_from_idprom() 820 mp->eeprom.id[3] = (idprom->id_sernum >> 8) & 0xff; in set_boardid_from_idprom() 821 mp->eeprom.id[4] = (idprom->id_sernum >> 0) & 0xff; in set_boardid_from_idprom()
|
D | sun3lance.c | 259 switch(idprom->id_machtype) { in sun3lance_probe() 340 dev->dev_addr[i] = idprom->id_ethaddr[i]; in lance_probe()
|
D | sunlance.c | 1327 printk("%2.2x%c", dev->dev_addr[i] = idprom->id_ethaddr[i], in sparc_lance_init() 1519 if ((idprom->id_machtype == (SM_SUN4|SM_4_330)) || in sparc_lance_probe() 1520 (idprom->id_machtype == (SM_SUN4|SM_4_470))) { in sparc_lance_probe()
|
/linux-2.4.37.9/drivers/scsi/ |
D | sun3_scsi.c | 200 switch(idprom->id_machtype) { in sun3scsi_detect()
|
D | sun3_scsi_vme.c | 155 switch(idprom->id_machtype) { in sun3scsi_detect()
|