mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
This commit is contained in:
@@ -177,8 +177,8 @@ sfpi_eeprom_read(int port, uint8_t devaddr, uint8_t data[256])
|
||||
return ONLP_STATUS_E_INTERNAL;
|
||||
}
|
||||
|
||||
data[i] = val & 0xff;
|
||||
data[i+1] = (val >> 8) & 0xff;
|
||||
data[i*2] = val & 0xff;
|
||||
data[(i*2)+1] = (val >> 8) & 0xff;
|
||||
}
|
||||
|
||||
return ONLP_STATUS_OK;
|
||||
|
||||
Reference in New Issue
Block a user