diff options
Diffstat (limited to 'drivers/net/fm/p5020.c')
-rw-r--r-- | drivers/net/fm/p5020.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/fm/p5020.c b/drivers/net/fm/p5020.c index 59638eb2aa..69c27d2237 100644 --- a/drivers/net/fm/p5020.c +++ b/drivers/net/fm/p5020.c @@ -40,6 +40,12 @@ static int is_device_disabled(enum fm_port port) return port_to_devdisr[port] & devdisr2; } +void fman_disable_port(enum fm_port port) +{ + ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR); + setbits_be32(&gur->devdisr2, port_to_devdisr[port]); +} + phy_interface_t fman_port_enet_if(enum fm_port port) { ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR); |