android_kernel_xiaomi_sm8350/drivers/net/e1000
Auke Kok 416b5d10af e1000: disable polling before registering netdevice
To assure the symmetry of poll enable/disable in up/down, we should
initialize the netdevice to be poll_disabled at load time. Doing
this after register_netdevice leaves us open to another race, so
lets move all the netif_* calls above register_netdevice so the
stack starts out how we expect it to be.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Doug Chapman <doug.chapman@hp.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-06-03 11:44:20 -04:00
..
e1000_ethtool.c
e1000_hw.c
e1000_hw.h
e1000_main.c e1000: disable polling before registering netdevice 2007-06-03 11:44:20 -04:00
e1000_osdep.h
e1000_param.c
e1000.h e1000: Fix msi enable leak on error, don't print error message, cleanup 2007-05-17 20:43:15 -04:00
Makefile