QE Ethernet driver writes to wrong register to mask interrupts
authorTimur Tabi <timur@freescale.com>
Tue, 10 Jul 2007 12:51:11 +0000 (07:51 -0500)
committerJeff Garzik <jeff@garzik.org>
Tue, 10 Jul 2007 16:24:42 +0000 (12:24 -0400)
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: Timur Tabi <timur@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ucc_geth.c

index 18b731bb4da1a6cfe881b1c8485e9b92268fc1e4..e4736a3b1b7a4f7cc24bb0916cb33172e67a519d 100644 (file)
@@ -2276,7 +2276,7 @@ static void ucc_geth_stop(struct ucc_geth_private *ugeth)
        phy_stop(phydev);
 
        /* Mask all interrupts */
-       out_be32(ugeth->uccf->p_ucce, 0x00000000);
+       out_be32(ugeth->uccf->p_uccm, 0x00000000);
 
        /* Clear all interrupts */
        out_be32(ugeth->uccf->p_ucce, 0xffffffff);