Re: [PATCH] smsc95xx: add macaddr module parameter

From: Alan Cox
Date: Tue Jan 31 2012 - 12:26:13 EST


On Tue, 31 Jan 2012 18:20:33 +0100
Danny Kukawka <danny.kukawka@xxxxxxxxx> wrote:

> Added smsc95xx.macaddr module parameter to allow the user to
> change the MAC address on boot if there was no MAC on the EEPROM.

NAK. Please see the discussion on this and ifconfig hw for other devices.

In summary - make the device refuse to ifconfig up without a valid
address, allow it to come into existance without a valid address and then
use ifconfig.


Your patch also seems to break if there are several attached to a board.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/