Skip to content

Commit

Permalink
QE Ethernet driver writes to wrong register to mask interrupts
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Timur Tabi authored and Jeff Garzik committed Jul 10, 2007
1 parent 4f09243 commit c6f5047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ucc_geth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c6f5047

Please sign in to comment.