From: Auke Kok Date: Fri, 1 Jun 2007 17:22:39 +0000 (-0700) Subject: e1000: disable polling before registering netdevice X-Git-Tag: v2.6.22-rc4~10^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=416b5d10afdc797c21c457ade3714e8f2f75edd9;p=pandora-kernel.git 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 Cc: Herbert Xu Cc: Doug Chapman Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed