History log of /drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6a228452d11eaf1f1577261540ec0903a2af7f61 13-Mar-2012 Stefan Roese <sr@denx.de> stmmac: Add device-tree support

This patch adds support to configure the STMMAC ethernet driver via
device-tree instead of platform_data.

Currently, only the properties needed on SPEAr600 are provided. All
other properties should be added once needed on other platforms.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
cf3f047b9af49d4ee8abfa31b0ef0e99cbcaf17d 15-Feb-2012 Giuseppe CAVALLARO <peppe.cavallaro@st.com> stmmac: move hw init in the probe (v2)

This patch moves the MAC HW initialization and
the HW feature verification from the open to the probe
function as D. Miller suggested.
So the patch actually reorganizes and tidies-up some parts of
the driver and indeed fixes some problem when tune its HW features.
These can be overwritten by looking at the HW cap register at
run-time and that generated problems.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Reviewed-by: Francesco Virlinzi <francesco.virlinzi@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
25cecd7e355bf90b8fea039bd06947bb3234e77d 12-Jan-2012 Julia Lawall <Julia.Lawall@lip6.fr> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c: add missing iounmap

Add missing iounmap in error handling code, in a case where the function
already preforms iounmap on some other execution path.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e;
statement S,S1;
int ret;
@@
e = \(ioremap\|ioremap_nocache\)(...)
... when != iounmap(e)
if (<+...e...+>) S
... when any
when != iounmap(e)
*if (...)
{ ... when != iounmap(e)
return ...; }
... when any
iounmap(e);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
bfab27a146ed4d722c6d399f844f955f29cd2b81 21-Dec-2011 Giuseppe CAVALLARO <peppe.cavallaro@st.com> stmmac: add the experimental PCI support

This patch adds the PCI support (as EXPERIMENTAL)
this has been also tested on XLINX XC2V3000 FF1152AMT0221
D1215994A VIRTEX FPGA board.
To support the PCI bus the main part has been reworked
and both the platform and the PCI specific parts have
been moved into different files.

Signed-off-by: Rayagond Kokatanur <rayagond@vayavyalabs.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c