Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/arch/sparc64/kernel/
Didprom.c15 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 …]
DMakefile15 obj-y := process.o setup.o cpu.o idprom.o \
Dsparc64_ksyms.c270 EXPORT_SYMBOL(idprom);
/linux-2.4.37.9/arch/m68k/sun3/
Didprom.c18 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 …]
Dsun3_ksyms.c13 EXPORT_SYMBOL(idprom);
DMakefile17 obj-y := sun3_ksyms.o sun3ints.o sun3dvma.o sbus.o idprom.o
/linux-2.4.37.9/arch/sparc/kernel/
Didprom.c21 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 …]
Dtime.c126 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()
Dsun4c_irq.c141 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()
Dsun4setup.c37 switch(idprom->id_machtype) { in sun4setup()
DMakefile25 process.o signal.o ioport.o setup.o idprom.o \
Dsparc_ksyms.c228 EXPORT_SYMBOL(idprom);
/linux-2.4.37.9/include/asm-sparc/
Didprom.h17 struct idprom struct
28 extern struct idprom *idprom; argument
31 #define IDPROM_SIZE (sizeof(struct idprom))
Dmostek.h56 struct idprom idprom; /* The idprom lives here. */ member
Dfloppy.h291 ((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/
Didprom.h19 struct idprom struct
30 extern struct idprom *idprom; argument
33 #define IDPROM_SIZE (sizeof(struct idprom))
/linux-2.4.37.9/arch/m68k/sun3x/
Dprom.c119 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()
Dsun3x_ksyms.c13 EXPORT_SYMBOL(idprom);
/linux-2.4.37.9/arch/sparc/prom/
Dsun4prom.c25 static struct idprom sun4_idprom;
42 {"idprom", (char *)&sun4_idprom, sizeof(struct idprom)},
/linux-2.4.37.9/arch/sparc/mm/
Dsun4c.c290 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/
Dmyri_sbus.c818 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()
Dsun3lance.c259 switch(idprom->id_machtype) { in sun3lance_probe()
340 dev->dev_addr[i] = idprom->id_ethaddr[i]; in lance_probe()
Dsunlance.c1327 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/
Dsun3_scsi.c200 switch(idprom->id_machtype) { in sun3scsi_detect()
Dsun3_scsi_vme.c155 switch(idprom->id_machtype) { in sun3scsi_detect()

12