diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2014-07-02 18:04:34 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-08 04:38:06 (GMT) |
commit | 91f873453b70fe6cdb83409bee68e1023204c381 (patch) | |
tree | 044848d5cb059abc032487e472a953a2c8d5fbbf /drivers/net/ethernet/amd/xgbe | |
parent | f3f128d40c4cc263af8e30b009a3eb17655e912b (diff) | |
download | linux-91f873453b70fe6cdb83409bee68e1023204c381.tar.xz |
amd-xgbe: Clear the proper MTL interrupt register
When initializing the MTL interrupts the interrupt status
register is written to instead of the interrupt enable register.
Since no MTL interrupts are being enabled and the default state
is for MTL interrupts to be disabled this did not cause a problem,
but needs to be fixed to target the correct register.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/xgbe')
-rw-r--r-- | drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-dev.c b/drivers/net/ethernet/amd/xgbe/xgbe-dev.c index a56069c9..e9fed23b 100644 --- a/drivers/net/ethernet/amd/xgbe/xgbe-dev.c +++ b/drivers/net/ethernet/amd/xgbe/xgbe-dev.c @@ -486,7 +486,7 @@ static void xgbe_enable_mtl_interrupts(struct xgbe_prv_data *pdata) XGMAC_MTL_IOWRITE(pdata, i, MTL_Q_ISR, mtl_q_isr); /* No MTL interrupts to be enabled */ - XGMAC_MTL_IOWRITE(pdata, i, MTL_Q_ISR, 0); + XGMAC_MTL_IOWRITE(pdata, i, MTL_Q_IER, 0); } } |