• Auke Kok's avatar
    e1000: disable polling before registering netdevice · 416b5d10
    Auke Kok authored
    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: default avatarAuke 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: default avatarJeff Garzik <jeff@garzik.org>
    416b5d10
e1000_main.c 152 KB