diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-02-24 09:26:50 +0000 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-04 14:29:43 +0100 |
commit | aa3c57acdd9ed3977d9e4aeecd1f6049173a619a (patch) | |
tree | dce1f303d948da52ec5cc0f9a4faaee2bb02b31e /scripts/gdb/linux/proc.py | |
parent | 2b8cbc607eac050bf8b9938d531b0ed8e163090e (diff) |
net: stmmac: thead: ensure divisor gives proper rate
thead was checking that the stmmac_clk rate was a multiple of the
RGMII rates for 1G and 100M, but didn't check for 10M. Rather than
use this with hard-coded speeds, check that the calculated divisor
gives the required rate by multplying the transmit clock rate back
up to the stmmac clock rate and checking that it agrees.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions