]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
stmmac: add init/exit callback in plat_stmmacenet_data struct
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 24 Nov 2010 02:38:05 +0000 (02:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2010 19:14:24 +0000 (11:14 -0800)
This patch adds in the plat_stmmacenet_data
the init and exit callbacks that can be used
for invoking specific platform functions.
For example, on ST targets, these call the
PAD manager functions to set PIO lines and
syscfg registers.
The patch removes the stmmac_claim_resource
only used on STM Kernels as well.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found