summaryrefslogtreecommitdiffstats
path: root/drivers/net/fec_imx.h
Commit message (Collapse)AuthorAgeFilesLines
* i.MX: fec: Enable all clocks specified for FECAndrey Smirnov2017-01-111-1/+9
| | | | | | | | | For some i.MX variants more than just "ipg" clock need to be enabled for Ethernet to function, so change the code to enable all of the clock defined for FEC node (this is what analogous Linux driver does as well). Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* whole tree: remove trailing whitespacesDu Huanpeng2016-04-211-1/+1
| | | | | Signed-off-by: Du Huanpeng <u74147@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: fec: use standard phy type definesSascha Hauer2013-03-091-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net fec_imx: add support for i.MX6 1000Mbps modeHubert Feurstein2013-02-111-0/+1
| | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net fec_imx: determine fec version based on device idsSascha Hauer2012-10-051-0/+22
| | | | | | | | This adds the device id mechanism to the i.MX fec driver and uses it to determine the fec version. Also adds devicetree probing support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net fec: Switch to clk supportSascha Hauer2012-10-041-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/remove-fsf-address'Sascha Hauer2012-10-031-4/+0
|\ | | | | | | | | | | Conflicts: drivers/net/miidev.c include/miidev.h
| * Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-4/+0
| | | | | | | | | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | net: introduce phylibJean-Christophe PLAGNIOL-VILLARD2012-09-251-1/+5
|/ | | | | | | | | | | | | | | | 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>
* net: fec_imx: small cleanupsWolfram Sang2012-01-251-14/+0
| | | | | | | | remove double include, remove unused (and double in case of RCNTRL) defines, sort the includes at least somewhat. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net i.MX fec: embed ethernet device into privSascha Hauer2011-07-281-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MX28: add FEC supportJuergen Beisert2010-12-141-3/+16
| | | | | | | | | The i.MX28 comes with an extended ethernet controller (ENET/FEC) which is backwards compatible to the FEC known from other i.MX CPUs. Add a few adaptions to the existing driver to make it work with the MX28 FEC. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fixup the FEC driver filesJuergen Beisert2010-12-141-4/+0
| | | | | | | | | | Some register bits are not defined in the IMX CPUs using this FEC (at least I did not find anything about them in the related datasheets) and they will get (partially) a new meaning in the i.MX28 CPU. So, removing them from the source seems the best way to avoid any accidental usage on i.MX28. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fec_imx: sparse fixesSascha Hauer2010-10-211-3/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: rework the mii supportJean-Christophe PLAGNIOL-VILLARD2010-08-271-1/+1
| | | | | | | this rework is done in order to add a phylib and allow to have phy driver support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fec_imx: do not typedef struct types #2Sascha Hauer2009-04-061-7/+7
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fec_imx: do not typedef struct typesSascha Hauer2009-04-061-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fec_imx: Fix RMII mode, remove struct-over-regsiter crapSascha Hauer2009-04-061-191/+21
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fec imx27: rename to fec_imxSascha Hauer2009-03-191-0/+376
This driver is not only used on i.MX27 but on i.MX35 and i.MX25, so rename it to a more generic name Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>