e1000e: fix flush_desc_ring implementation
authorYanir Lubetkin <yanirx.lubetkin@intel.com>
Tue, 2 Jun 2015 14:05:38 +0000 (17:05 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 3 Jun 2015 10:38:01 +0000 (03:38 -0700)
commitff9174291eddb3f42a1e9429f8b919bebc33533b
treeaa5ae0f8e278b587bb931ad1005175864871804d
parent95f0d950467f1228d4e326c11150e1750a6dd1ef
e1000e: fix flush_desc_ring implementation

The indication that a descriptor ring flush is required was read from
FEXTNVM7 by mistake. It should be read from the PCI config space.

Signed-off-by: Yanir Lubetkin <yanirx.lubetkin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/ich8lan.h
drivers/net/ethernet/intel/e1000e/netdev.c