Maybe we should start by refactoring ethtool_get_eeprom() so we canreuse most of its code in ethtool_get_module_eeprom(), rather thanhaving to worry about what the maximum size of a module EEPROM might beand whether we need a loop:

We want to support reading module (SFP+, XFP, ...) EEPROMs as well asNIC EEPROMs. They will need a different command number and driveroperation, but the structure and arguments will be the same and so wecan share most of the code here.