commit | 449e21a92411ba35bfa68b4464aa7dbd1f705d28 | [log] [tgz] |
---|---|---|
author | Mark Rustad <mark.d.rustad@intel.com> | Sat Aug 08 16:18:53 2015 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Wed Sep 23 22:45:47 2015 -0700 |
tree | 5c053d78723cfd619355c3bfe842b88f8da0cd9d | |
parent | 58e7cd24d474c87763387f606e403012f562760b [diff] |
ixgbe: Add I2C bus mux support Take control of an I2C mux that selects which SFP is attached to the I2C bus. The control of the mux is captured in the taking and releasing of the related semaphore. Because only port 1 can control the mux, port 1 always leaves the mux set to select port 0. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>