]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ixgbe: cleanup handling of I2C interface to PHY
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 19 Feb 2011 08:43:55 +0000 (08:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Mar 2011 12:29:51 +0000 (04:29 -0800)
commit75f19c3c5eeb67d37ce96e0ea78dc0beb485a723
tree117ae9d67f85495acc183d57f7a52f4992abd908
parent278675d855e03e111ca84fec6eb7d5569e56c394
ixgbe: cleanup handling of I2C interface to PHY

The I2C interface was not being correctly locked down per port.  As such
this can lead to race conditions that can cause issues.  This patch cleans
up the handling to make certain we are not experiencing racy I2C access.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_phy.c