Lines Matching defs:srom
2120 u_int16_t srom[64];
2123 for (i=0; i<64; i++) srom[i] = 0;
2125 srom[0] = 0x1376; /* subsys vendor id */
2126 srom[1] = board ? board : (read_mii(3)>>4 & 0xF) +1;
2127 srom[8] = crc8(srom, 9);
2129 srom[10] = 0x6000; /* ethernet address */
2130 srom[11] = 0x0099; /* ethernet address */
2131 srom[12] = 0x0000; /* ethernet address */
2132 /* srom checksum is low 16 bits of Ethernet CRC-32 */
2133 srom[63] = crc32((char *)srom, 126) ^ 0xFFFFFFFFL;
2137 for (i=0; i<64; i++) write_srom(i, srom[i]);
2143 printf("%02X %02X ", srom[i] & 0xFF, srom[i]>>8);
2409 u_int16_t srom = read_srom(i);
2411 printf("%02X %02X ", srom & 0xFF, srom>>8);