zephyr/drivers/ethernet
Piotr Mienkowski afdb0e0a70 drivers: eth_sam_gmac: Fix initialization order
Atmel SAM family GMAC Ethernet driver is implementing zero-copy
networking. As a result it has to reserve a defined amount of RX
data net buffers before bringing up the interface. Since net buffer
pool is initialized by the network stack and this driver was bringing
the interface up in its initialization function the driver initialization
was performed, as a workaround, after network stack initialization. It
is not a clean solution. This patch fixes this by bringing the
interface up in interface initialization function. The driver itself
can now be initialized before the network stack is.

Tested on Atmel SMART SAM E70 Xplained board

Change-Id: I65886fd6db6f27a10628e393cfabd8e5f78c08ff
Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2017-04-07 12:35:51 +03:00
..
eth_dw_priv.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
eth_dw.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
eth_enc28j60_priv.h drivers: eth_enc28j60: Clarify comments in the header file. 2017-03-13 18:02:34 +03:00
eth_enc28j60.c drivers: enc28j60: buffer reception waits timeout 2017-03-09 20:33:46 +02:00
eth_mcux.c ext: mcux: Update to mcux 2.2 for k64 2017-03-27 09:05:58 -05:00
eth_sam_gmac_priv.h drivers: Update Atmel SAM family GMAC Ethernet driver 2017-03-17 10:34:44 +02:00
eth_sam_gmac.c drivers: eth_sam_gmac: Fix initialization order 2017-04-07 12:35:51 +03:00
Kconfig drivers: make ethernet init prio depend on NET_L2_ETHERNET 2017-02-02 14:43:51 +00:00
Kconfig.dw drivers: make ethernet init prio depend on NET_L2_ETHERNET 2017-02-02 14:43:51 +00:00
Kconfig.enc28j60 drivers: enc28j60: buffer reception waits timeout 2017-03-09 20:33:46 +02:00
Kconfig.mcux eth/mcux: Turn down the PHY debug verbosity. 2017-03-09 20:33:47 +02:00
Kconfig.sam_gmac drivers: Update Atmel SAM family GMAC Ethernet driver 2017-03-17 10:34:44 +02:00
Makefile drivers: Add Atmel SAM family GMAC Ethernet driver 2017-02-01 21:01:19 +00:00
phy_sam_gmac.c drivers: Add Atmel SAM family GMAC Ethernet driver 2017-02-01 21:01:19 +00:00
phy_sam_gmac.h drivers: Add Atmel SAM family GMAC Ethernet driver 2017-02-01 21:01:19 +00:00