diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2007-06-01 10:22:39 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-06-03 11:44:20 -0400 |
commit | 416b5d10afdc797c21c457ade3714e8f2f75edd9 (patch) | |
tree | 6a769397243a94916bf0e765eccd3104a3370490 /drivers/hwmon/ds1621.c | |
parent | 25805dcf9d83098cf5492117ad2669cd14cc9b24 (diff) |
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>
Diffstat (limited to 'drivers/hwmon/ds1621.c')
0 files changed, 0 insertions, 0 deletions