Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Differential
D25793
Diff 77714
sys/dev/axgbe/xgbe-i2c.c
Changeset View
According to the logs with axgbe_debug_level=3, it seems that reading the EEPROM times out after +/- 60 bytes. Since the I2C controller operates at a frequency of 100 kHz, it seems that it needs at least 11ms to complete the read operation of the EEPROM. I changed this locally to ticks + (10 * hz) and that seemed to fix the issue. On the safe side I would set this to 20 or 30.
I wonder why this didn't happen on your side?