]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: enable bus master after reset
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 23 Dec 2015 20:05:52 +0000 (12:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Feb 2016 03:14:56 +0000 (19:14 -0800)
commited8e9b687ba36aedce28931b383a822c850d4c62
tree9c287f489da5a3f0b825289f6a0d497571edbe7a
parent544f9a08822bf6699c056ac790503e0ea20a48ba
i40evf: enable bus master after reset

If the VF is reset via VFLR, the device will be knocked out of bus
master mode, and the driver will fail to recover from the reset. Fix
this by enabling bus mastering after every reset. In a non-VFLR case,
the bus master bit will not be disabled, and this call will have no effect.

Change-ID: Id515859ac7a691db478222228add6d149e96801a
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c