From: Jiri Pirko Date: Tue, 11 Oct 2011 23:00:41 +0000 (+0000) Subject: tg3: negate USE_PHYLIB flag check X-Git-Tag: v3.1~9^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e730c82347b9dc75914da998c44c3f348965db41;p=pandora-kernel.git tg3: negate USE_PHYLIB flag check USE_PHYLIB flag in tg3_remove_one() is being checked incorrectly. This results tg3_phy_fini->phy_disconnect is never called and when tg3 module is removed. In my case this resulted in panics in phy_state_machine calling function phydev->adjust_link. So correct this check. Signed-off-by: Jiri Pirko Acked-by: Matt Carlson Signed-off-by: David S. Miller --- Reading git-diff-tree failed