Commit c6f5047b authored by Timur Tabi's avatar Timur Tabi Committed by Jeff Garzik

QE Ethernet driver writes to wrong register to mask interrupts

The QE Ethernet driver was writing to the wrong register to mask interrupts.
In ucc_geth_stop(), it was clearing UCCE instead of UCCM.
Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 4f092432
...@@ -2276,7 +2276,7 @@ static void ucc_geth_stop(struct ucc_geth_private *ugeth) ...@@ -2276,7 +2276,7 @@ static void ucc_geth_stop(struct ucc_geth_private *ugeth)
phy_stop(phydev); phy_stop(phydev);
/* Mask all interrupts */ /* Mask all interrupts */
out_be32(ugeth->uccf->p_ucce, 0x00000000); out_be32(ugeth->uccf->p_uccm, 0x00000000);
/* Clear all interrupts */ /* Clear all interrupts */
out_be32(ugeth->uccf->p_ucce, 0xffffffff); out_be32(ugeth->uccf->p_ucce, 0xffffffff);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment