/* Create an ethernet address from the system serial number.  */
static int __init etherm_addr(char *addr)
/* Create an ethernet address from the system serial number.  */
static int __init etherm_addr(char *addr)
{
	unsigned int serial;
	if (system_serial_low == 0 && system_serial_high == 0)
		return -ENODEV;
	serial = system_serial_low | system_serial_high;
	addr[0] = 0;
	addr[1] = 0;
	addr[2] = 0xa4;
	addr[3] = 0x10 + (serial >> 24);
	addr[4] = serial >> 16;
	addr[5] = serial >> 8;
	return 0;
}