]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Add I2C bus mux support
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:18:53 +0000 (16:18 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 12 Oct 2015 16:05:02 +0000 (09:05 -0700)
commitb2d7d5e9665c9182ea3af43f790153e5e942190e
treef8a3cd3a73585505aafb9fde13e569bda5827ed8
parent36062b3fe8d1e1a1d8dbbf0fe10e02c20cd7e7c0
ixgbe: Add I2C bus mux support

Orabug: 21918732

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>
(cherry picked from commit 449e21a92411ba35bfa68b4464aa7dbd1f705d28)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c