]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Make mailbox ops initialization unconditional
authorGreg Rose <gregory.v.rose@intel.com>
Tue, 11 Dec 2012 08:26:33 +0000 (08:26 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 23 Jan 2013 22:33:53 +0000 (14:33 -0800)
commit5fbe3ba5334f47b7f7a784c014620bb238d2c32c
tree851543a1dc85640dcb2469b6a9623917ef8ee817
parentba2e8b01f9b9260dc2adc59cb1bdf0827b8b7dc9
ixgbe: Make mailbox ops initialization unconditional

There is no actual dependency on initialization of the mailbox ops on
whether SR-IOV is enabled or not and it doesn't hurt to go ahead and
initialize ops unconditionally.  Move the initialization into the device
probe so that the mailbox ops are initialized at the time we have the
board info necessary to do it.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
CC: Don Dutile <ddutile@redhat.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Sibai Li <Sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h