u-boot/drivers
Stephen Warren c9abfbdd66 net: smsc95xx: fix DM MAC address reading
eth-uclass.c expects DM-capable Ethernet adapters to implement ops->
read_rom_hwaddr(), or for some other mechanism to set pdata->enetaddr, or
for the user to set environment variable $usbethaddr. Without any of
these, it will refuse to initialize the device since no valid MAC address
is known. Implement this function for the smsc95xx driver.

With this feature implemented, there is no point smsc95xx_init_common()
re-reading the MAC address from ROM, so ifdef out this code when DM_ETH
is enabled.

This allows (at least) the built-in Ethernet on the NVIDIA Harmony board
to operate again.

Fixes: 0990fcb772 ("net: smsc95xx: Add driver-model support")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-10-13 12:25:40 -05:00
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block ahci: Make ahci_port_base() non-static to enable overwrite 2016-09-27 17:29:54 +02:00
bootcount bootcounter_ram: Flush dcache after data is written into SDRAM 2016-04-11 20:48:25 -04:00
clk clock: implement a driver for the Tegra CAR 2016-09-27 09:11:02 -07:00
core dm: core: Add a function to get a uclass name 2016-10-11 11:55:33 +08:00
cpu x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
crypto Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
ddr Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
demo drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
dfu dfu: Migrate to Kconfig 2016-09-27 10:46:45 -04:00
dma treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
fpga treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
gpio Revert "x86: broadwell: gpio: Remove the codes to set up pin control" 2016-10-11 11:55:33 +08:00
hwmon mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
i2c x86: i2c: Fix cast of address to 32-bit value 2016-10-11 11:55:33 +08:00
input input: specify the default of I8042_KEYB in more correct manner 2016-10-01 20:04:35 -04:00
led dm: led: Tidy up SPL options for the led and led-gpio 2015-09-02 21:28:22 -06:00
mailbox ARM: tegra: adapt to latest HSP DT binding 2016-08-04 13:36:58 -07:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc Merge git://git.denx.de/u-boot-fsl-qoriq 2016-10-12 08:29:42 -04:00
mmc Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-10-08 09:33:37 -04:00
mtd spl: Update ext functions to take an spl_image parameter 2016-10-06 15:08:53 -04:00
net rtl8169: fix cache misalignment message on transmit. 2016-10-13 12:25:29 -05:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci vbe: Make vbe_setup_video_priv() public 2016-10-12 10:56:51 +08:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
phy/marvell drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 7K/8K 2016-09-27 17:29:54 +02:00
pinctrl pinctrl: imx: do not announce driver initialization 2016-10-07 12:26:14 +02:00
power regulator: fixed: honour optionality of enable gpio 2016-10-10 10:44:37 -07:00
pwm PWM: Correct misspellings of "module" in context of PWM 2016-10-06 20:57:43 -04:00
qe treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ram ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM 2015-08-18 13:46:02 -04:00
remoteproc remoteproc: Add support for TI power processor 2016-03-14 19:18:37 -04:00
reset reset: uniphier: add reset controller driver for UniPhier SoCs 2016-10-10 10:03:23 +09:00
rtc rtc: Use CONFIG_X86 instead of __I386__ 2016-10-11 11:55:33 +08:00
serial Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-10-08 09:33:37 -04:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi Merge git://git.denx.de/u-boot-fsl-qoriq 2016-10-12 08:29:42 -04:00
spmi Merge git://git.denx.de/u-boot-dm 2016-08-12 16:00:50 -04:00
sysreset xtensa: add support for the 'xtfpga' evaluation board 2016-08-15 18:46:40 -04:00
thermal Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
timer Merge git://git.denx.de/u-boot-dm 2016-03-14 19:21:44 -04:00
tpm tpm: Tidy up use of size_t 2016-10-11 11:55:33 +08:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb net: smsc95xx: fix DM MAC address reading 2016-10-13 12:25:40 -05:00
video Merge branch 'master' of git://git.denx.de/u-boot-x86 2016-10-12 13:59:26 -04:00
watchdog imx_watchdog: Do not assert WDOG_B on watchdog init 2016-10-04 12:01:14 +02:00
Kconfig drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 3k 2016-09-27 17:29:53 +02:00
Makefile drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 3k 2016-09-27 17:29:53 +02:00