diff options
Diffstat (limited to 'drivers/net/fm/p3060.c')
-rw-r--r-- | drivers/net/fm/p3060.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/fm/p3060.c b/drivers/net/fm/p3060.c index 176e1d2..c9748a9 100644 --- a/drivers/net/fm/p3060.c +++ b/drivers/net/fm/p3060.c @@ -45,6 +45,11 @@ static int is_device_disabled(enum fm_port port) void fman_disable_port(enum fm_port port) { ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR); + + /* don't allow disabling of DTSEC1 as its needed for MDIO */ + if (port == FM1_DTSEC1) + return; + setbits_be32(&gur->devdisr2, port_to_devdisr[port]); } |