]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Fix the initial device operstate
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 24 Aug 2012 17:04:38 +0000 (18:04 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 24 Aug 2012 19:10:24 +0000 (20:10 +0100)
commitd7dedb7f6a138a7c63ff5d10ffd685e6cfb9b774
tree7024fcb7301339f9c41100717e8bc982aa0ed790
parent4ec25edd346bb0cef89737bc64055380c05693cb
sfc: Fix the initial device operstate

Following commit a0b1615 ('net: Set device operstate at registration
time') it is now correct and preferable to set the carrier off before
registering a device.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c