diff options
Diffstat (limited to 'drivers/net/fm/p5020.c')
-rw-r--r-- | drivers/net/fm/p5020.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/fm/p5020.c b/drivers/net/fm/p5020.c index 69c27d2..a7a6e43 100644 --- a/drivers/net/fm/p5020.c +++ b/drivers/net/fm/p5020.c @@ -43,6 +43,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]); } |