Searched hist:"73 f5e847" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/phy/ |
H A D | sfp.c | 73f5e847 Sun Nov 10 08:07:25 CST 2019 Russell King <rmk+kernel@armlinux.org.uk> net: sfp: move module insert reporting out of probe
Move the module insertion reporting out of the probe handling, but after we have detected that the upstream has attached (since that is whom we are reporting insertion to.)
Only report module removal if we had previously reported a module insertion.
This gives cleaner semantics, and means we can probe the module before we have an upstream attached.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net> 73f5e847 Sun Nov 10 08:07:25 CST 2019 Russell King <rmk+kernel@armlinux.org.uk> net: sfp: move module insert reporting out of probe Move the module insertion reporting out of the probe handling, but after we have detected that the upstream has attached (since that is whom we are reporting insertion to.) Only report module removal if we had previously reported a module insertion. This gives cleaner semantics, and means we can probe the module before we have an upstream attached. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
|