summaryrefslogtreecommitdiff
path: root/drivers/net/fm/fm.h
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2013-10-18 11:47:21 +0200
committerYork Sun <yorksun@freescale.com>2013-10-24 09:35:59 -0700
commitf51d3b71d4d3eacfbbc6e2cf3fa197774df5f638 (patch)
tree7fba1071d269735aab40c8dcab7027f2811b09af /drivers/net/fm/fm.h
parent7e157b0ade85282a76db27cbf0ab8a2370d4d7b6 (diff)
net/fman: add a fm_enable_port function
This can be useful if one wants to disable an interface in u-boot because u-boot should not manage it but then later reenable it for FDT fixing or if the kernel uses this interface. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> [York Sun: fix conflict in fm_eth.h] Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/net/fm/fm.h')
-rw-r--r--drivers/net/fm/fm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fm/fm.h b/drivers/net/fm/fm.h
index 5f197a9829..3ec49a4f3b 100644
--- a/drivers/net/fm/fm.h
+++ b/drivers/net/fm/fm.h
@@ -99,6 +99,7 @@ int fm_init_common(int index, struct ccsr_fman *reg);
int fm_eth_initialize(struct ccsr_fman *reg, struct fm_eth_info *info);
phy_interface_t fman_port_enet_if(enum fm_port port);
void fman_disable_port(enum fm_port port);
+void fman_enable_port(enum fm_port port);
struct fsl_enet_mac {
void *base; /* MAC controller registers base address */