net: introduce phylib
Adapt phylib from linux

switch all the driver to it
reimplement mii bus

This will allow to have
 - phy drivers
 - to only connect the phy at then opening of the device
 - if the phy is not ready or not up fail on open

Same behaviour as in linux and will allow to share code and simplify porting.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
WIP_next-LS master next stable/v2013.05 stable/v2013.06 stable/v2013.07 stable/v2013.08 stable/v2013.10 stable/v2014.05 stable/v2014.06 stable/v2014.07 stable/v2014.08 stable/v2014.09 stable/v2014.10 stable/v2014.11 stable/v2014.12 stable/v2015.01 stable/v2015.02 stable/v2017.05 stable/v2017.06 stable/v2017.07 stable/v2017.11 stable/v2018.07 stable/v2018.09 stable/v2018.12 work/fit-support v2020.07.0 v2020.06.0 v2020.05.0 v2020.04.0 v2020.03.0 v2020.02.0 v2020.01.0 v2019.12.0 v2019.11.0 v2019.10.0 v2019.09.0 v2019.08.1 v2019.08.0 v2019.07.0 v2019.06.1 v2019.06.0 v2019.05.0 v2019.04.0 v2019.03.0 v2019.02.0 v2019.01.0 v2018.12.0 v2018.11.0 v2018.10.0 v2018.09.1 v2018.09.0 v2018.08.1 v2018.08.0 v2018.07.2 v2018.07.1 v2018.07.0 v2018.06.0 v2018.05.0 v2018.04.0 v2018.03.0 v2018.02.0 v2018.01.0 v2017.12.0 v2017.11.0 v2017.10.0 v2017.09.0 v2017.08.0 v2017.07.1 v2017.07.0 v2017.06.2 v2017.06.1 v2017.06.0 v2017.05.4 v2017.05.3 v2017.05.2 v2017.05.1 v2017.05.0 v2017.04.0 v2017.03.0 v2017.02.0 v2017.01.0 v2016.11.0 v2016.10.0 v2016.09.0 v2016.08.0 v2016.07.0 v2016.06.0 v2016.05.0 v2016.04.0 v2016.03.0 v2016.02.0 v2016.01.0 v2015.12.0 v2015.11.0 v2015.10.0 v2015.09.0 v2015.08.0 v2015.07.0 v2015.06.0 v2015.05.0 v2015.04.0 v2015.03.0 v2015.02.0 v2015.01.0 v2014.12.0 v2014.11.0 v2014.10.0 v2014.09.0 v2014.08.0 v2014.07.0 v2014.06.0 v2014.05.0 v2014.04.0 v2014.03.0 v2014.02.0 v2014.01.0 v2013.12.0 v2013.11.0 v2013.10.1 v2013.10.0 v2013.09.0 v2013.08.1 v2013.08.0 v2013.07.0 v2013.06.1 v2013.06.0 v2013.05.1 v2013.05.0 v2013.04.0 v2013.03.0 v2013.02.0 v2013.01.0 v2012.12.1 v2012.12.0 v2012.11.0
1 parent 26eab97 commit 2263e27814f1db83745a9e65c373c957307c36a0
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD authored on 9 Aug 2012
Sascha Hauer committed on 25 Sep 2012
Showing 42 changed files
View
arch/arm/boards/freescale-mx6-arm2/board.c
View
arch/arm/boards/freescale-mx6-sabrelite/board.c
View
arch/arm/configs/phycard_a_l1_defconfig
View
arch/arm/configs/tx51stk5_defconfig
View
drivers/net/Kconfig
View
drivers/net/Makefile
View
drivers/net/altera_tse.c
View
drivers/net/altera_tse.h
View
drivers/net/at91_ether.c
View
drivers/net/designware.c
View
drivers/net/dm9k.c
View
drivers/net/ep93xx.c
View
drivers/net/ep93xx.h
View
drivers/net/fec_imx.c
View
drivers/net/fec_imx.h
View
drivers/net/fec_mpc5200.c
View
drivers/net/fec_mpc5200.h
View
drivers/net/gianfar.c
View
drivers/net/gianfar.h
View
drivers/net/ks8851_mll.c
View
drivers/net/macb.c
View
drivers/net/miidev.c 100644 → 0
View
drivers/net/netx_eth.c
View
drivers/net/phy/Kconfig 0 → 100644
View
drivers/net/phy/Makefile 0 → 100644
View
drivers/net/phy/generic.c 0 → 100644
View
drivers/net/phy/mdio_bus.c 0 → 100644
View
drivers/net/phy/phy.c 0 → 100644
View
drivers/net/smc91111.c
View
drivers/net/smc911x.c
View
drivers/net/usb/Kconfig
View
drivers/net/usb/asix.c
View
drivers/net/usb/smsc95xx.c
View
drivers/net/usb/usbnet.c
View
include/fec.h
View
include/linux/ethtool.h 0 → 100644
View
include/linux/mii.h
View
include/linux/phy.h 0 → 100644
View
include/miidev.h
View
include/net.h
View
include/usb/usbnet.h
View
net/eth.c