Commit 9a06fe0
committed
Merge branch 'sfp-eeprom'
Ivan Bornyakov says:
====================
net: fix EEPROM read of absent SFP module
The patchset is to improve EEPROM read requests when SFP module is
absent.
ChangeLog:
v1:
https://lore.kernel.org/netdev/20230405153900.747-1-i.bornyakov@metrotek.ru/
v2:
* reword commit message of "net: sfp: initialize sfp->i2c_block_size
at sfp allocation"
* add second patch to eliminate excessive I2C transfers in
sfp_module_eeprom() and sfp_module_eeprom_by_page()
====================
Signed-off-by: David S. Miller <davem@davemloft.net>1 file changed
Lines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
213 | 219 | | |
214 | 220 | | |
215 | 221 | | |
| |||
1929 | 1935 | | |
1930 | 1936 | | |
1931 | 1937 | | |
1932 | | - | |
1933 | | - | |
1934 | | - | |
1935 | | - | |
1936 | | - | |
| 1938 | + | |
1937 | 1939 | | |
1938 | 1940 | | |
1939 | 1941 | | |
| |||
2485 | 2487 | | |
2486 | 2488 | | |
2487 | 2489 | | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
2488 | 2493 | | |
2489 | 2494 | | |
2490 | 2495 | | |
| |||
2517 | 2522 | | |
2518 | 2523 | | |
2519 | 2524 | | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
2520 | 2528 | | |
2521 | 2529 | | |
2522 | 2530 | | |
| |||
2621 | 2629 | | |
2622 | 2630 | | |
2623 | 2631 | | |
| 2632 | + | |
2624 | 2633 | | |
2625 | 2634 | | |
2626 | 2635 | | |
| |||
0 commit comments