mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
atl1: fix bad ioread address
An ioread32 statement reads the wrong address. Fix it. Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jay Cliburn <[email protected]> Signed-off-by: Chris Snook <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
a1ca14b1f4
commit
a62daa4c75
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ void atl1_hash_set(struct atl1_hw *hw, u32 hash_value)
|
|||
*/
|
||||
hash_reg = (hash_value >> 31) & 0x1;
|
||||
hash_bit = (hash_value >> 26) & 0x1F;
|
||||
mta = ioread32((hw + REG_RX_HASH_TABLE) + (hash_reg << 2));
|
||||
mta = ioread32((hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2));
|
||||
mta |= (1 << hash_bit);
|
||||
iowrite32(mta, (hw->hw_addr + REG_RX_HASH_TABLE) + (hash_reg << 2));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue