From: Timur Tabi Date: Tue, 10 Jul 2007 12:51:11 +0000 (-0500) Subject: QE Ethernet driver writes to wrong register to mask interrupts X-Git-Tag: MMI-PSA29.97-13-9~42340^2~17 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c6f5047b633f0605098fe47417c4e1ed87a7637a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Timur Tabi Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 18b731bb4da1..e4736a3b1b7a 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c @@ -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);