diff options
author | Timur Tabi <timur@freescale.com> | 2007-07-10 08:51:11 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-10 12:24:42 -0400 |
commit | c6f5047b633f0605098fe47417c4e1ed87a7637a (patch) | |
tree | 6fbbadca51cb8682c44639d986ec744326795be7 /drivers | |
parent | 4f092432bd443416b649519c3d5405aa55ad2d15 (diff) |
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 <timur@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ucc_geth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
2276 | phy_stop(phydev); | 2276 | phy_stop(phydev); |
2277 | 2277 | ||
2278 | /* Mask all interrupts */ | 2278 | /* Mask all interrupts */ |
2279 | out_be32(ugeth->uccf->p_ucce, 0x00000000); | 2279 | out_be32(ugeth->uccf->p_uccm, 0x00000000); |
2280 | 2280 | ||
2281 | /* Clear all interrupts */ | 2281 | /* Clear all interrupts */ |
2282 | out_be32(ugeth->uccf->p_ucce, 0xffffffff); | 2282 | out_be32(ugeth->uccf->p_ucce, 0xffffffff); |