From: Alexander Duyck Date: Mon, 5 Oct 2009 06:32:07 +0000 (+0000) Subject: igb: update the approach taken to acquiring and releasing the phy lock X-Git-Tag: v2.6.33-rc1~388^2~931 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=008c3422d48b217792789bdea822dbc2efe2165c;p=pandora-kernel.git igb: update the approach taken to acquiring and releasing the phy lock The current approach is just using a ?: type mechanism to set the phy locking bit. This if fine for now but limits us to only 2. Switch to a nested if statement for future compatiblity with more than 2 phys. Signed-off-by: Alexander Duyck Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed