Re: [PATCH] smc91x: remove ARM hack for unaligned 16-bit writes

From: Russell King - ARM Linux
Date: Sat Aug 27 2016 - 11:39:23 EST

On Sat, Aug 27, 2016 at 05:30:42PM +0200, Robert Jarzmik wrote:
> Hi Russell,
> With your patch :
> - lubbock, mainstone and zylonite boards are working correctly
> => ie. all my boards are working correctly
> - the message "ifconfig: SIOCSIFHWADDR: Device or resource busy" is still there
> => this message is here even without your patch, so it's rather not relevant
> => this message is triggered by an "/sbin/ifconfig eth0 hw ether
> 08:00:3e:26:0a:5b" command
> So from a PXA testing point of view it's all good, ie.
> Tested-by: Robert Jarzmik <robert.jarzmik@xxxxxxx>

Thanks for testing, that's good news.

You'll get "SIOCSIFHWADDR: Device or resource busy" if the device is
already up and has no support for changing the address while the NIC
is "live" - we only program the MAC address when bringing the smc91x
device up (or resetting it after a timeout).

See net/ethernet/eth.c::eth_prepare_mac_addr_change() and smc_enable().

RMK's Patch system:
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to