Lines Matching refs:printf

91 	printf("ID: %c%c%c%c v%u\n", e.id[0], e.id[1], e.id[2], e.id[3],  in show_eeprom()
94 printf("ID: %c%c%c%c\n", e.id[0], e.id[1], e.id[2], e.id[3]); in show_eeprom()
98 printf("SN: %s\n", e.sn); in show_eeprom()
102 printf("Errata: %s\n", e.errata); in show_eeprom()
104 printf("Errata: %c%c\n", in show_eeprom()
110 printf("Build date: 20%02x/%02x/%02x %02x:%02x:%02x %s\n", in show_eeprom()
120 printf("Eth%u: %02x:%02x:%02x:%02x:%02x:%02x\n", i, in show_eeprom()
127 printf("CRC: %08x\n", be32_to_cpu(e.crc)); in show_eeprom()
129 printf("CRC: %08x (should be %08x)\n", in show_eeprom()
133 printf("EEPROM dump: (0x%x bytes)\n", sizeof(e)); in show_eeprom()
136 printf("%02X: ", i); in show_eeprom()
137 printf("%02X ", ((u8 *)&e)[i]); in show_eeprom()
139 printf("\n"); in show_eeprom()
246 printf("Programming failed.\n"); in prog_eeprom()
251 printf("Programming passed.\n"); in prog_eeprom()
287 printf("Usage: mac date YYMMDDhhmmss\n"); in set_date()
310 printf("Usage: mac <n> XX:XX:XX:XX:XX:XX\n"); in set_mac_address()
351 printf("Please read the EEPROM ('r') and/or set the ID ('i') first.\n"); in do_mac()
427 printf("Read failed.\n"); in mac_read_from_eeprom()
432 printf("Invalid ID (%02x %02x %02x %02x)\n", in mac_read_from_eeprom()
449 printf("CRC mismatch (%08x != %08x)\n", crc, be32_to_cpu(e.crc)); in mac_read_from_eeprom()
486 printf("%c%c%c%c v%u\n", e.id[0], e.id[1], e.id[2], e.id[3], in mac_read_from_eeprom()
489 printf("%c%c%c%c\n", e.id[0], e.id[1], e.id[2], e.id[3]); in mac_read_from_eeprom()