From: Alexander Duyck Date: Mon, 5 Oct 2009 06:32:27 +0000 (+0000) Subject: igb: add locking to reads of the i2c interface X-Git-Tag: v2.6.33-rc1~388^2~930 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf6f7a928d313ddecb0a16ea60fa6b45ac1414a7;p=pandora-kernel.git igb: add locking to reads of the i2c interface The current implementation of sgmii support isn't correctly locking the interfaces for reads/writes. This change pulls the read/write functionality out of 82575.c and moves it to phy.c. In addition it replaces the implementation in 82575.c with one that uses locking around the relocated i2c interface calls. Signed-off-by: Alexander Duyck Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed