Commit 3b993558 authored by Rengarajan S's avatar Rengarajan S Committed by Jakub Kicinski
Browse files

net: lan743x: Modify the EEPROM and OTP size for PCI1xxxx devices



Maximum OTP and EEPROM size for hearthstone PCI1xxxx devices are 8 Kb
and 64 Kb respectively. Adjust max size definitions and return correct
EEPROM length based on device. Also prevent out-of-bound read/write.

Signed-off-by: default avatarRengarajan S <rengarajan.s@microchip.com>
Link: https://patch.msgid.link/20250523173326.18509-1-rengarajan.s@microchip.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 7a91722e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment