forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: prueth: fix disabling storm prevention
Storm prevention feature was not being disabled because value was only being written to memory for firmware to read if storm prevention was enabled. Fix writes disabled status to memory once, when storm prevention is disabled through sysfs. Additionally, the correct DRAM was not being set during initializtion so both ports were defaulting to DRAM0. Added initialization to set correct DRAM per port. Signed-off-by: Aaron Kramer <[email protected]>
- Loading branch information
Aaron Kramer
committed
Dec 9, 2019
1 parent
5f8c1c6
commit 6990349
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters