From: françois romieu Date: Fri, 30 Sep 2011 00:36:52 +0000 (+0000) Subject: bnx2: don't request firmware when there's no userspace. X-Git-Tag: v3.2-rc1~129^2~168 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7880b72e94fd3cf3283de6752175191583bce9f0;p=pandora-kernel.git bnx2: don't request firmware when there's no userspace. The firmware is cached during the first successful call to open() and released once the network device is unregistered. The driver uses the cached firmware between open() and unregister_netdev(). It's similar to 953a12cc2889d1be92e80a2d0bab5ffef4942300 but the firmware is mandatory. Signed-off-by: Francois Romieu Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed