On Mon, 28 Oct 2024 20:19:04 +0100 Andrew Lunn wrote: > > This is pretty much the same implementation that is already in place > > for the Linux driver of the LAN743x PCIe device. > > That is good, it gives some degree of consistency. But i wounder if we > should go further. I doubt these are the only two devices which > support both EEPROM and OTP. It would be nicer to extend ethtool: > > ethtool -e|--eeprom-dump devname [raw on|off] [offset N] [length N] [otp] [eeprom] After a cursory look at the conversation I wonder if it wouldn't be easier to register devlink regions for eeprom and otp?